diff options
Diffstat (limited to 'examples/react-file-system-router/index.tsx')
-rw-r--r-- | examples/react-file-system-router/index.tsx | 2 |
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} />)); }, }; |