Skip to content

Commit

Permalink
use client
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens committed Apr 15, 2024
1 parent 06d49c3 commit 4bfdaa2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-cameras-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'jotai-x': patch
---

use client in createAtomProvider
2 changes: 2 additions & 0 deletions packages/jotai-x/src/createAtomProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import React from 'react';
import { createStore } from 'jotai/vanilla';

Expand Down

0 comments on commit 4bfdaa2

Please sign in to comment.