Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

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 24cdded commit 69bc009
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 69bc009

Please sign in to comment.