JotaiProvider.tsx 257 B

1234567891011121314
  1. 'use client'
  2. import { Provider } from 'jotai'
  3. import { DevTools } from 'jotai-devtools'
  4. import 'jotai-devtools/styles.css'
  5. export const JotaiProvider = ({ children }) => {
  6. return (
  7. <Provider>
  8. {children}
  9. <DevTools />
  10. </Provider>
  11. )
  12. }