This repository was archived by the owner on Nov 6, 2025. It is now read-only.
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
components/Header/Sidebar.tsx
Outdated
| const localActive = useTypedLocale(); | ||
| const { theme } = useTheme(); | ||
| const t = useTranslations('Components.sideBar'); | ||
| const navigationItems: NavigationItems[] = [ |
Contributor
There was a problem hiding this comment.
in this scope this array will be re declared on every render
Contributor
Author
There was a problem hiding this comment.
I know, but how can I use the "useTranslations" hook outside this scope?
| `fixed inset-y-0 z-50 bg-lightBg dark:bg-darkBg border-l | ||
| border-l-blue-400 w-[75%] shadow-lg transform transition-transform | ||
| ease-in-out duration-300`, | ||
| { |
Contributor
There was a problem hiding this comment.
can we not use dir here?
Contributor
Author
There was a problem hiding this comment.
It didn't worked so well using dir
Avi-E-Koenig
suggested changes
May 19, 2024
Contributor
Avi-E-Koenig
left a comment
There was a problem hiding this comment.
please address review.
Contributor
|
@noams24 please resolve conflicts |
Contributor
|
@noams24 please update |
Contributor
Author
|
I still couldn't figured how to fix this error: Maybe @Tamir198 knows how solve it? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Issue #271