diff --git a/client/src/components/Nav/Nav.tsx b/client/src/components/Nav/Nav.tsx index 5a7a9d5bf5..ec15e681a3 100644 --- a/client/src/components/Nav/Nav.tsx +++ b/client/src/components/Nav/Nav.tsx @@ -9,6 +9,7 @@ import { useLocalStorage, useNavScrolling, useConversations, + useLocalize, } from '~/hooks'; import { useConversationsInfiniteQuery } from '~/data-provider'; import { TooltipProvider, Tooltip } from '~/components/ui'; @@ -24,6 +25,7 @@ import { cn } from '~/utils'; import store from '~/store'; const Nav = ({ navVisible, setNavVisible }) => { + const localize = useLocalize(); const { conversationId } = useParams(); const { isAuthenticated } = useAuthContext(); @@ -141,7 +143,7 @@ const Nav = ({ navVisible, setNavVisible }) => { >