aboutsummaryrefslogtreecommitdiff
path: root/examples/react-file-system-router/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/react-file-system-router/index.tsx')
-rw-r--r--examples/react-file-system-router/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/react-file-system-router/index.tsx b/examples/react-file-system-router/index.tsx
index 62d1151d5..2abcc6b7e 100644
--- a/examples/react-file-system-router/index.tsx
+++ b/examples/react-file-system-router/index.tsx
@@ -14,7 +14,7 @@ export default {
const route = router.match(request);
- const { default: Root } = await import(route.filePath);
+ const { default: Root } = await import(route.filePath!);
return new Response(await renderToReadableStream(<Root {...route.params} />));
},
};