Skip to content

Commit

Permalink
Revert "docs: fix homepage flashing (umijs#12029)"
Browse files Browse the repository at this point in the history
This reverts commit 7076342.
  • Loading branch information
fz6m committed Jan 6, 2024
1 parent 41f1908 commit c92dc61
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion docs/.dumi/components/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ const HeroWrapper = styled.div`
export const Hero = () => {
// TODO: github stars 存 localStorage
// 采用 stale-while-revalidate 的策略
localStorage.length;
return (
<HeroWrapper>
<div className="bg"></div>
Expand Down
3 changes: 0 additions & 3 deletions docs/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ export default defineConfig({
define: {
'process.env.UMI_VERSION': version,
},
exportStatic: {
ignorePreRenderError: true,
},
themeConfig: {
name: 'UmiJS',
socialLinks: {
Expand Down

0 comments on commit c92dc61

Please sign in to comment.