mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-19 06:43:16 +08:00
docs: enable hash (#46271)
This commit is contained in:
parent
937a1a2a85
commit
2565d5832a
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user