Skip to content
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

Merged
merged 3 commits into from
May 10, 2024
Merged

Change direction he #263

merged 3 commits into from
May 10, 2024

Conversation

roi1410
Copy link
Contributor

@roi1410 roi1410 commented May 6, 2024

first add FilteringProjectsBug brach

Copy link

vercel bot commented May 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
maakaf-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2024 8:20am

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'
}`}
>
Copy link
Contributor

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.

Copy link
Contributor Author

@roi1410 roi1410 May 9, 2024

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

  1. I can't use useLocalStorage in server component Heders and layout
  2. 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

Copy link
Contributor

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)

@Darkmift Darkmift merged commit 9501ffc into Maakaf:main May 10, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants