Skip to content

Commit cb0de8d

Browse files
committed
last batch of fixes
1 parent b309ecd commit cb0de8d

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

site/src/components/Dashboard/DashboardLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ export const DashboardLayout: FC = () => {
8181
color: theme.palette.info.light,
8282
})}
8383
/>
84-
<div>
84+
<p>
8585
Coder {updateCheck.data?.version} is now available. View the{" "}
8686
<Link href={updateCheck.data?.url}>release notes</Link> and{" "}
8787
<Link href={docs("/admin/upgrade")}>upgrade instructions</Link>{" "}
8888
for more information.
89-
</div>
89+
</p>
9090
</div>
9191
}
9292
action={

site/src/components/Dashboard/Navbar/NavbarView.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ const ProxyMenu: FC<ProxyMenuProps> = ({ proxyContextValue }) => {
280280
css={{
281281
width: "100%",
282282
fontSize: 14,
283-
padding: 8,
283+
padding: 16,
284284
maxWidth: "320px",
285285
lineHeight: "140%",
286286
}}
@@ -331,9 +331,7 @@ const ProxyMenu: FC<ProxyMenuProps> = ({ proxyContextValue }) => {
331331
}}
332332
key={proxy.id}
333333
selected={proxy.id === selectedProxy?.id}
334-
css={{
335-
fontSize: 14,
336-
}}
334+
css={{ fontSize: 14 }}
337335
>
338336
<div
339337
css={{

site/src/components/Dashboard/useUpdateCheck.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { act, renderHook, waitFor } from "@testing-library/react";
22
import { useUpdateCheck } from "./useUpdateCheck";
33
import { QueryClient, QueryClientProvider } from "react-query";
4-
import { type PropsWithChildren } from "react";
4+
import { type FC, type PropsWithChildren } from "react";
55
import { rest } from "msw";
66
import { MockUpdateCheck } from "testHelpers/entities";
77
import { server } from "testHelpers/server";
88

9-
const createWrapper = () => {
9+
const createWrapper = (): FC<PropsWithChildren> => {
1010
const queryClient = new QueryClient();
11-
return ({ children }: PropsWithChildren) => (
11+
return ({ children }) => (
1212
<QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
1313
);
1414
};

site/src/pages/TemplatePage/TemplateInsightsPage/WeekPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import ExpandMoreOutlined from "@mui/icons-material/ExpandMoreOutlined";
33
import Button from "@mui/material/Button";
44
import Menu from "@mui/material/Menu";
55
import MenuItem from "@mui/material/MenuItem";
6-
import { useState, useRef, FC } from "react";
6+
import { type FC, useState, useRef } from "react";
77
import { DateRangeValue } from "./DateRange";
88
import { differenceInWeeks } from "date-fns";
99
import { lastWeeks } from "./utils";

site/src/pages/TemplateSettingsPage/TemplateSchedulePage/ScheduleDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const ScheduleDialog: FC<PropsWithChildren<ScheduleDialogProps>> = ({
9898
template workspaces?
9999
</p>
100100
<FormControlLabel
101-
css={{ marginTop: 2 }}
101+
css={{ marginTop: 16 }}
102102
control={
103103
<Checkbox
104104
size="small"

0 commit comments

Comments
 (0)