Skip to content

Commit

Permalink
docs: fix homepage flashing
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Jan 4, 2024
1 parent 6eb927a commit 0ec0785
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/.dumi/components/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const HeroWrapper = styled.div`
export const Hero = () => {
// TODO: github stars 存 localStorage
// 采用 stale-while-revalidate 的策略
localStorage.length;
return (
<HeroWrapper>
<div className="bg"></div>
Expand Down

0 comments on commit 0ec0785

Please sign in to comment.