udibo / react-app

A React Framework for Deno that makes it easy to create highly interactive apps that have server side rendering with file based routing for both your UI and API.
https://udibo-react-app.deno.dev/
MIT License
14 stars 2 forks source link

Fix ErrorFallback warning from building app #76

Closed KyleJune closed 1 month ago

KyleJune commented 10 months ago

This started happening after updating esbuild in https://github.com/udibo/react_app/pull/75.

Building app
▲ [WARNING] Import "ErrorFallback" will always be undefined because there is no matching export in "routes/main.tsx" [import-is-undefined]

    routes/_main.tsx:12:22:
      12 │ if (($0 as RouteFile).ErrorFallback) {
         ╵                       ~~~~~~~~~~~~~

Build completed in 189 ms