diff options
| author | AAGaming <aagaming@riseup.net> | 2024-06-27 00:21:32 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-06-27 00:21:32 -0400 |
| commit | 0cfb41755a3cf5bc39cd65e45e02418c245fa793 (patch) | |
| tree | 9bab88d926fbcf218b10794161e4c4c411e691a8 /frontend/src/router-hook.tsx | |
| parent | 2f8b5df0077bae996c1e9c5fa571ebf538260597 (diff) | |
| download | decky-loader-0cfb41755a3cf5bc39cd65e45e02418c245fa793.tar.gz decky-loader-0cfb41755a3cf5bc39cd65e45e02418c245fa793.zip | |
lint
Diffstat (limited to 'frontend/src/router-hook.tsx')
| -rw-r--r-- | frontend/src/router-hook.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/frontend/src/router-hook.tsx b/frontend/src/router-hook.tsx index 7b66d351..e3325913 100644 --- a/frontend/src/router-hook.tsx +++ b/frontend/src/router-hook.tsx @@ -61,9 +61,7 @@ class RouterHook extends Logger { routes.forEach(({ component, props }, path) => { newRouterArray.push( <Route path={path} {...props}> - <ErrorBoundary> - {createElement(component)} - </ErrorBoundary> + <ErrorBoundary>{createElement(component)}</ErrorBoundary> </Route>, ); }); |
