Skip to content

Commit

Permalink
fix: use client injection
Browse files Browse the repository at this point in the history
  • Loading branch information
ndom91 committed Jan 23, 2024
1 parent 68a24a4 commit 117e091
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "react-timezone-select",
"version": "3.2.2",
"version": "3.2.3",
"description": "Usable, dynamic React Timezone Select",
"scripts": {
"dev": "concurrently \"tsup src/index.tsx --format esm --watch\" \"cd example && pnpm dev\"",
"prepublishOnly": "pnpm run build",
"postpublish": "pnpm run build:example && npm run deploy",
"build": "tsup src/index.tsx --format esm --clean --dts",
"build": "tsup src/index.tsx --format esm --clean --dts && sed -i '1i \"use client\"\\n' dist/index.js",
"build:example": "cd example && pnpm run build",
"deploy": "gh-pages -d example/dist",
"pretest": "pnpm run build",
Expand Down
2 changes: 0 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client"

import { useMemo } from "react"
import Select from "react-select"
import spacetime, { type Spacetime } from "spacetime"
Expand Down

0 comments on commit 117e091

Please sign in to comment.