Skip to content

Commit

Permalink
docs: fix theme editor page (ant-design#44232)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadCcc authored Aug 15, 2023
1 parent 4fb448f commit 3f0e747
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .dumi/pages/theme-editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ const CustomTheme = () => {
const storedConfig = localStorage.getItem(ANT_DESIGN_V5_THEME_EDITOR_THEME);
if (storedConfig) {
const themeConfig = JSON.parse(storedConfig);
const originThemeConfig = {
json: themeConfig,
text: undefined,
};
setThemeConfigContent(originThemeConfig);
setTheme(themeConfig);
}
}, []);
Expand Down

0 comments on commit 3f0e747

Please sign in to comment.