put error boundary around the groups page
This commit is contained in:
parent
476d696aa8
commit
291c740671
1 changed files with 5 additions and 1 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue