Skip to content

Commit

Permalink
Fix render in provider
Browse files Browse the repository at this point in the history
  • Loading branch information
abefernan committed Oct 15, 2024
1 parent 4820f0a commit 099616f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/mock-api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export default function MockApiProvider({ children }: PropsWithChildren) {
mockWorkerService.start().then(() => {
setShouldRenderChildren(true);
});
} else {
setShouldRenderChildren(true);
}

return () => {
Expand Down

0 comments on commit 099616f

Please sign in to comment.