Skip to content

Commit

Permalink
fix: context update in layoutEffect breaks suspense
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Dec 7, 2021
1 parent 059fba9 commit 88e043f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/ImportedController.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export const ImportedController: React.FC<{

return (
<>
<HydrationState state={state}>{children}</HydrationState>
<HydrationEffect loopCallback={onFirstHydration} />
<HydrationState state={state}>{children}</HydrationState>
</>
);
};

0 comments on commit 88e043f

Please sign in to comment.