diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index ae9e303..48cba0c 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -9,6 +9,7 @@ import { setNav } from './lib/nav.js' import { startFlow } from './sheets.jsx' import Icon from './components/Icon.jsx' import TabBar from './components/TabBar.jsx' +import ErrorBoundary from './components/ErrorBoundary.jsx' import Modals from './components/Modals.jsx' import Toast from './components/Toast.jsx' import RestTimer from './components/RestTimer.jsx' @@ -57,21 +58,25 @@ function Shell() { return ( <> + {/* keyed on the route: a view that throws is contained, and switching tabs + re-mounts the boundary, so the tab bar is always a way out */}