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
The country and the language of the user should be two distinct state that are shared across all games.
The country should be easily modified. Probably in the header for desktop
Their is now a const [country, setCountry] = useCountry() that can be used every where to access the country. And it can be used to either set the country value in the current page (in URL search params) or globally (in the localestorage) by using setCountry(newCountryCode, 'page' | 'global')
Still have to loop on all games to use this in queries
The text was updated successfully, but these errors were encountered:
The country and the language of the user should be two distinct state that are shared across all games.
The country should be easily modified. Probably in the header for desktop
Their is now a
const [country, setCountry] = useCountry()
that can be used every where to access the country. And it can be used to either set the country value in the current page (in URL search params) or globally (in the localestorage) by usingsetCountry(newCountryCode, 'page' | 'global')
Still have to loop on all games to use this in queries
The text was updated successfully, but these errors were encountered: