Skip to content

Commit

Permalink
improve(design): Remove resetStyle for all components
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Jan 29, 2024
1 parent ed86ce8 commit 168bc04
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/design/src/_util/genComponentStyleHook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ export function genComponentStyleHook(
token => {
return [styleFn(token)];
},
getDefaultToken
getDefaultToken,
{
resetStyle: false,
}
);
const [wrapSSR] = useStyle(prefixCls);
// use hashId from useToken, as hashId is '' when hashed is false
Expand Down

0 comments on commit 168bc04

Please sign in to comment.