Skip to content

Commit

Permalink
Merge pull request #13 from udecode/fix/react-import
Browse files Browse the repository at this point in the history
use client
  • Loading branch information
zbeyens committed Apr 15, 2024
2 parents 5fb32bf + 4bfdaa2 commit 42935cc
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 42935cc

Please sign in to comment.