Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9f6d826

Browse files
committed
caught some mistakes
1 parent 33f89c3 commit 9f6d826

File tree

4 files changed

+11
-16
lines changed

4 files changed

+11
-16
lines changed

site/src/components/DeploySettingsLayout/Option.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const OptionValue: FC<{ children?: unknown }> = ({ children }) => {
4444
4545
& ul {
4646
padding: ${theme.spacing(2)};
47-
},
47+
}
4848
`;
4949

5050
if (typeof children === "boolean") {

site/src/components/DeploySettingsLayout/Sidebar.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const SidebarNavItem: FC<
2222
const activeStyles = css`
2323
background-color: ${theme.palette.action.hover};
2424
25-
&:before {
25+
&::before {
2626
content: "";
2727
display: block;
2828
width: 3px;
@@ -33,7 +33,7 @@ const SidebarNavItem: FC<
3333
background-color: ${theme.palette.secondary.dark};
3434
border-top-left-radius: ${theme.shape.borderRadius};
3535
border-bottom-left-radius: ${theme.shape.borderRadius};
36-
},
36+
}
3737
`;
3838

3939
return (
@@ -44,16 +44,16 @@ const SidebarNavItem: FC<
4444
4545
color: inherit;
4646
display: block;
47-
fontsize: 14;
48-
textdecoration: none;
47+
font-size: 14px;
48+
text-decoration: none;
4949
padding: ${theme.spacing(1.5, 1.5, 1.5, 2)};
50-
borderradius: ${theme.shape.borderRadius / 2};
50+
border-radius: ${theme.shape.borderRadius / 2};
5151
transition: background-color 0.15s ease-in-out;
52-
marginbottom: 1;
52+
margin-bottom: 1;
5353
position: relative;
5454
5555
&:hover {
56-
backgroundcolor: ${theme.palette.action.hover};
56+
background-color: ${theme.palette.action.hover};
5757
}
5858
`}
5959
>

site/src/pages/UserSettingsPage/TokensPage/TokensPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ export const TokensPage: FC<PropsWithChildren<unknown>> = () => {
5050
css={(theme) => css`
5151
& code {
5252
background: ${theme.palette.divider};
53-
fontsize: 12px;
53+
font-size: 12px;
5454
padding: 2px 4px;
5555
color: ${theme.palette.text.primary};
56-
borderradius: 2px;
56+
border-radius: 2px;
5757
}
5858
`}
5959
description={

site/tsconfig.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,5 @@
1818
},
1919
"include": ["**/*"],
2020
"exclude": ["node_modules/", "_jest"],
21-
"types": [
22-
"@emotion/react/types/css-prop",
23-
"@testing-library/jest-dom",
24-
"jest",
25-
"node"
26-
]
21+
"types": ["@emotion/react", "@testing-library/jest-dom", "jest", "node"]
2722
}

0 commit comments

Comments
 (0)