Skip to content

Commit 78b374b

Browse files
committed
Temporarily ignore RSC integration file to fix format workflow
1 parent 442278d commit 78b374b

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ worker-configuration.d.ts
88
/playground-local/
99
integration/helpers/**/dist/
1010
integration/helpers/**/build/
11+
# Temporary until we can get prettier upgraded to support `import ... with` syntax
12+
integration/helpers/rsc-parcel/src/server.tsx
1113
playwright-report/
1214
test-results/
1315
build.utils.d.ts

docs/start/rsc/routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ export default function Root() {
8181
```
8282

8383
[data_routing]: ../data/routing
84-
[route_modules]: ./route-module
84+
[route_modules]: ./route-module

integration/vite-prerender-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2448,7 +2448,7 @@ test.describe("Prerendering", () => {
24482448
"ページ データ"
24492449
);
24502450
expect(requests).toEqual([`/${encodedMultibytePath}.data`]);
2451-
})
2451+
});
24522452

24532453
test("Returns a 404 if navigating to a non-prerendered param value", async ({
24542454
page,

packages/react-router/lib/router/router.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,9 +1311,9 @@ export function createRouter(init: RouterInit): Router {
13111311
}
13121312

13131313
// Don't restore on router.revalidate()
1314-
let restoreScrollPosition = isUninterruptedRevalidation ?
1315-
false :
1316-
getSavedScrollPosition(location, newState.matches || state.matches);
1314+
let restoreScrollPosition = isUninterruptedRevalidation
1315+
? false
1316+
: getSavedScrollPosition(location, newState.matches || state.matches);
13171317

13181318
// Always respect the user flag. Otherwise don't reset on mutation
13191319
// submission navigations unless they redirect

0 commit comments

Comments
 (0)