Skip to content

Commit

Permalink
Merge pull request #12 from stainless-code/use-client-directive
Browse files Browse the repository at this point in the history
chore: add "use client" directive
  • Loading branch information
SutuSebastian authored Nov 20, 2024
2 parents fa53674 + 8626598 commit 664a23b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-rockets-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@stainless-code/react-custom-events": patch
---

add "use client" directive
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use client";

import type { DependencyList } from "react";
import { useEffect } from "react";

Expand Down

0 comments on commit 664a23b

Please sign in to comment.