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
functionuseStyles(...styles){const{ insertCss }=useContext(StyleContext)if(!insertCss)thrownewError('Please provide "insertCss" function by StyleContext.Provider')construnEffect=()=>{constremoveCss=insertCss(...styles)return()=>{setTimeout(removeCss,0)// It is not called in strict mode}}if(isBrowser){// will get undefined in strict modeuseEffect(runEffect,[])}else{runEffect()}}
The text was updated successfully, but these errors were encountered:
switch route style will not be removed
The text was updated successfully, but these errors were encountered: