-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change direction he #263
Change direction he #263
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
className={`fixed inset-0 z-50 flex items-center justify-between px-10 bg-lightBg dark:bg-darkBg max-h-24 ${ | ||
locale === 'he' && 'flex-row-reverse' | ||
}`} | ||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a useLocalStorage.ts
for that please use it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can u help me understand 2 things
- I can't use useLocalStorage in server component Heders and layout
- what is the point of using local storage in the first place because
locale
is updated fine (tnx to middleware) at my tests
can u enlight me what I am missing here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry my mistake here, i ment to say that we have a hook for language ditection (no idea why I was talking about localstorage)
first add FilteringProjectsBug brach