put error boundary around the groups page

This commit is contained in:
Carter 2025-01-30 13:21:29 -06:00
parent 476d696aa8
commit 291c740671

View file

@ -85,7 +85,11 @@ export default function Router(props: Props) {
<Routes> <Routes>
<Route <Route
path="/" path="/"
element={<GroupsPage />} element={
<ErrorBoundary FallbackComponent={ErrorFallback}>
<GroupsPage />
</ErrorBoundary>
}
/> />
<Route <Route
path="/:groupID" path="/:groupID"