Skip to content

Commit

Permalink
Revert SystemProvider changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Mar 18, 2024
1 parent e5d7631 commit 5d5aa1f
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const SystemProvider = ({ children }: { children: React.ReactNode }) => {
}, [powerSync, connector]);

return (
<Suspense fallback={<Fallback />}>
<Suspense fallback={<CircularProgress />}>
<PowerSyncContext.Provider value={powerSync}>
<SupabaseContext.Provider value={connector}>
<NavigationPanelContextProvider>
Expand All @@ -54,8 +54,4 @@ export const SystemProvider = ({ children }: { children: React.ReactNode }) => {
);
};

function Fallback() {
return <CircularProgress />;
}

export default SystemProvider;

0 comments on commit 5d5aa1f

Please sign in to comment.