Skip to content

Commit

Permalink
chore: add for nextjs (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ authored Dec 26, 2024
1 parent 03c423d commit 1e33f33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"compile": "father build",
"coverage": "rc-test --coverage",
"lint": "eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js",
"prepublishOnly": "npm run compile && np --yolo --no-publish",
"prepublishOnly": "npm run compile",
"start": "dumi dev",
"test": "rc-test"
},
Expand Down
2 changes: 2 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import { unstableSetRender } from 'antd';
import { createRoot } from 'react-dom/client';

Expand Down

0 comments on commit 1e33f33

Please sign in to comment.