We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 082cefd + 4aaec0d commit 2a7e6d9Copy full SHA for 2a7e6d9
src/components/TableOfContents/index.tsx
@@ -94,11 +94,12 @@ const TableOfContents: React.FC<IProps> = ({
94
<List {...outerListProps}>
95
{!hideEditButton && (
96
<ListItem mb={2}>
97
- <ButtonLink to={editPath} variant="outline" hideArrow mt={0}>
98
- <Flex alignItems="center">
99
- <Icon as={FaGithub} color="text" boxSize={6} me={2} />
100
- <Translation id="edit-page" />
101
- </Flex>
+ <ButtonLink
+ leftIcon={<Icon as={FaGithub} />}
+ to={editPath}
+ variant="outline"
+ >
102
+ <Translation id="edit-page" />
103
</ButtonLink>
104
</ListItem>
105
)}
0 commit comments