Skip to content

Commit

Permalink
docs: enable hash (ant-design#46271)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadCcc authored Dec 5, 2023
1 parent 937a1a2 commit 2565d58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .dumi/theme/builtins/DemoWrapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const DemoWrapper: typeof DumiDemoGrid = ({ items }) => {
)}
</Tooltip>
</span>
<ConfigProvider theme={{ cssVar: enableCssVar, hashed: !enableCssVar }}>
<ConfigProvider theme={{ cssVar: enableCssVar }}>
<DumiDemoGrid items={demos} />
</ConfigProvider>
</div>
Expand Down
1 change: 0 additions & 1 deletion .dumi/theme/layouts/GlobalLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ const GlobalLayout: React.FC = () => {
motion: !theme.includes('motion-off'),
},
cssVar: true,
hashed: false,
}}
>
<HappyProvider disabled={!theme.includes('happy-work')}>{content}</HappyProvider>
Expand Down

0 comments on commit 2565d58

Please sign in to comment.