Skip to content

Commit 3173c6d

Browse files
authored
refactor: Apply suggestions from code review
1 parent 913b3c9 commit 3173c6d

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

src/pages/discord.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@ const Circle = styled.div`
1414
background-color: ${(props) => props.color};
1515
`;
1616

17-
const styles = {
18-
content: {
19-
paddingTop: '16px',
20-
paddingBottom: '16px',
21-
},
22-
discordLogo: {
23-
paddingRight: '8px',
24-
paddingLeft: '8px',
25-
},
26-
};
2717

2818
const DiscordPage = () => {
2919
const [discordInvitationLink, setDiscordInvitationLink] = React.useState();
@@ -45,7 +35,7 @@ const DiscordPage = () => {
4535
return (
4636
<>
4737
<Seo title="Junte-se ao nosso Discord" />
48-
<VStack direction="column" spacing={8} style={styles.content}>
38+
<VStack direction="column" spacing={8} px={4} my={8}>
4939
<Image
5040
src={discordLogo}
5141
alt="discord logo"

0 commit comments

Comments
 (0)