Skip to content

Commit

Permalink
Downgrade do styled-components
Browse files Browse the repository at this point in the history
  • Loading branch information
Welton Felix committed Aug 7, 2023
1 parent 34f572c commit 98bee93
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1,233 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"react-modal": "^3.16.1",
"react-spinners": "^0.13.6",
"react-toggle": "^4.1.2",
"styled-components": "^6.0.7"
"styled-components": "^5.3.11"
},
"devDependencies": {
"@next/eslint-plugin-next": "^13.0.4",
Expand Down
4 changes: 3 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ export async function getStaticProps(): Promise<IStaticProps> {
avatarUrl: data.avatar_url,
name: data.name,
ghUsername: data.login,
teams: getRandomArrayItems(faunaMember.user_teams, 2),
teams: faunaMember.user_teams
? getRandomArrayItems(faunaMember.user_teams, 2)
: [],
});
}

Expand Down
Loading

1 comment on commit 98bee93

@vercel
Copy link

@vercel vercel bot commented on 98bee93 Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.