Skip to content

Commit e3c3630

Browse files
committed
fix: remove use client by default from the project build files
1 parent 030364e commit e3c3630

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rollup.config.prod.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ const banner = `
1919
* {@link https://github.com/ReactTooltip/react-tooltip}
2020
* @copyright ReactTooltip Team
2121
* @license MIT
22-
*/
23-
24-
'use client';` // this 'use client' prevent break Next.js 13 projects when using tooltip on server side components
22+
*/`
2523

2624
const external = [
2725
...Object.keys(pkg.peerDependencies ?? {}),

0 commit comments

Comments
 (0)