Skip to content

Commit

Permalink
Merge pull request #80 from mchr3k/main
Browse files Browse the repository at this point in the history
Fix initRef handling, and fix the types on the login/register method
  • Loading branch information
DanielRivers authored Mar 7, 2025
2 parents f7cc9db + 9e0b776 commit 20b556a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/state/KindeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -449,10 +449,10 @@ export const KindeProvider = ({
}, [init]);

return (
initRef.current && (
initRef.current ? (
<KindeContext.Provider value={contextValue}>
{children}
</KindeContext.Provider>
)
) : null
);
};

0 comments on commit 20b556a

Please sign in to comment.