mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 05:37:21 +00:00
fix(site): add 'use client' to ejected skin Next.js output (#1488)
This commit is contained in:
@@ -1328,7 +1328,7 @@ function reorganizeReactOutput(source: string, extraUtilities: string[], extraIc
|
||||
parts.push(declarations.join('\n\n'));
|
||||
}
|
||||
|
||||
return `${parts.join('\n\n')}\n`;
|
||||
return `'use client';\n\n${parts.join('\n\n')}\n`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user