Skip to content

Commit

Permalink
fix(mobile): Fix flicker on sign in page
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed Apr 19, 2024
1 parent 5ae6694 commit 4f9b6c8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/shared-react/providers/trpc-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ export function TRPCProvider({
const trpcClient = useMemo(() => getTRPCClient(settings), [settings]);

return (
<api.Provider
key={settings.address}
client={trpcClient}
queryClient={queryClient}
>
<api.Provider client={trpcClient} queryClient={queryClient}>
<QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
</api.Provider>
);
Expand Down

0 comments on commit 4f9b6c8

Please sign in to comment.