Skip to content

Commit

Permalink
Fix ts lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SunDr17 committed Jan 23, 2024
1 parent 8758812 commit 83d43b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/common/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ export default function Footer() {
</Nav>
<Nav>
{Object.keys(config.socialLinks).map((social) => (
<Nav.Link href={config.socialLinks[social]} target="_blank"><Icon name={social} /></Nav.Link>
<Nav.Link key={social} href={config.socialLinks[social]} target="_blank">
<Icon name={social} />
</Nav.Link>
))}
</Nav>
</Container>
Expand Down
4 changes: 3 additions & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
const config = {
percentsForBoughtBalance: {
50000: 2,
60000: 2.1,
Expand All @@ -20,3 +20,5 @@ export default {
whitepaper: 'https://ethereum.org/en/whitepaper',
} as { [index: string]: string },
};

export default config;

0 comments on commit 83d43b8

Please sign in to comment.