Skip to content

Commit

Permalink
feat(providers): add kbar provider on providers list
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Jul 13, 2023
1 parent 6414509 commit 46a7332
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
import { ReactNode } from 'react'
import { ThemeProvider } from 'next-themes'
import { GeistProvider } from '@geist-ui/core'
import { CustomKBarProvider } from '@/shared/components/kbar/provider'

export function Providers({ children }: { children: ReactNode }) {
return (
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<GeistProvider>{children}</GeistProvider>
<CustomKBarProvider>
<GeistProvider>{children}</GeistProvider>
</CustomKBarProvider>
</ThemeProvider>
)
}

0 comments on commit 46a7332

Please sign in to comment.