You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Already covered in Readme. Usage -> Use useThemeSwitcher Hook: if (status === 'loading') { return <div>Loading styles...</div>; }
But this status check causes rendering components twice. I was able to fix it like this: if (status !== 'loaded') { return <div>Loading styles...</div>; }
Hope it helps :)
when I enter the app it shows a page without formatting for a short period, is there a solution for that?
The text was updated successfully, but these errors were encountered: