Skip to content

Commit 67add1f

Browse files
committed
Fix test in vite-ecosystem-ci
1 parent 5f0e3ec commit 67add1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/vite-route-exports-modified-offscreen-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const files = {
3333
export const loader = () => "hello";
3434
3535
export default function Route() {
36-
const loaderData = useLoaderData();
36+
const loaderData = useLoaderData() ?? null;
3737
return (
3838
<div data-loader-data>loaderData = {JSON.stringify(loaderData)}</div>
3939
);

0 commit comments

Comments
 (0)