Skip to content

Commit

Permalink
fix(spinner): Attempted to call useProviderContext() from the server (#…
Browse files Browse the repository at this point in the history
…4904)

* fix(spinner): add banner in tsup.config.ts

* chore(changeset): add changeset

* chore(docs): update breaking changes in blog

* chore(docs): handled in PR4905
  • Loading branch information
wingkwong authored Feb 26, 2025
1 parent 989cbe1 commit 2186f6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/good-experts-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@heroui/spinner": patch
---

add `use client` directive in tsup (#4903)
1 change: 1 addition & 0 deletions packages/components/spinner/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export default defineConfig({
clean: true,
target: "es2019",
format: ["cjs", "esm"],
banner: {js: '"use client";'},
});

0 comments on commit 2186f6d

Please sign in to comment.