style: format codebase

This commit is contained in:
Jean-Philippe Sirois
2020-05-19 21:57:49 -04:00
parent 0eaea34b28
commit a1283334b3
37 changed files with 146 additions and 138 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ export function Breadcrumb({ relativePath, basePath }: IBreadcrumbProps) {
<ChevronUp />
</SC.LinkWrapper>
{breadcrumbItems.map(item => {
{breadcrumbItems.map((item) => {
if (item.type === "folder") {
foldersDepth++
if (foldersDepth > 1) {
+2 -2
View File
@@ -25,12 +25,12 @@ export const LinkWrapper = styled.div`
}
svg path {
fill: ${props => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")};
fill: ${(props) => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")};
}
`
export const StyledLink = styled(Link)`
color: ${props => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")};
color: ${(props) => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")};
cursor: pointer;
font-weight: 700;
text-decoration: underline;