Skip to content

Commit

Permalink
refactor(root component): minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
heyqbnk committed Apr 19, 2024
1 parent ca7c423 commit 4e0a5a4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/components/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,8 @@ const Inner: FC = () => {
);
};

export const Root: FC = () => {
return (
<ErrorBoundary fallback={ErrorBoundaryError}>
<Inner />
</ErrorBoundary>
);
};
export const Root: FC = () => (
<ErrorBoundary fallback={ErrorBoundaryError}>
<Inner />
</ErrorBoundary>
);

0 comments on commit 4e0a5a4

Please sign in to comment.