diff --git a/src/components/providers/nextui-provider.tsx b/src/components/providers/nextui-provider.tsx index e6ecff7b..052d9477 100644 --- a/src/components/providers/nextui-provider.tsx +++ b/src/components/providers/nextui-provider.tsx @@ -1,11 +1,18 @@ 'use client' import { NextUIProvider, NextUIProviderProps } from '@nextui-org/react' +import { useRouter } from 'next-intl/client' import type { FC, PropsWithChildren } from 'react' export const NextuiProvider: FC> = ({ children, ...props }) => { - return {children} + const router = useRouter() + + return ( + + {children} + + ) }