Skip to content

Commit e0919c1

Browse files
committed
fix(web): lint errors
1 parent ab25253 commit e0919c1

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

web/src/components/app-bar.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,21 @@ export function AppBar() {
5858

5959
return (
6060
<Header>
61-
<Header.Item sx={{ cursor: "pointer" }} onClick={() => router.push("/")}>
61+
<Header.Item
62+
style={{ cursor: "pointer" }}
63+
onClick={() => router.push("/")}
64+
>
6265
<Image src={Logo} height={48} alt={"httpmock.dev logo"} />
6366
<Heading
6467
sx={{ fontWeight: "lighter", display: ["none", "block"] }}
65-
as={"h1"}
68+
as={"h2"}
6669
>
6770
httpmock
6871
</Heading>
6972
{activeProject === null && (
7073
<Heading
7174
sx={{ fontWeight: "lighter", display: ["block", "none"] }}
72-
as={"h1"}
75+
as={"h2"}
7376
>
7477
httpmock
7578
</Heading>

web/src/store/provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface StoreProviderProps {
1515
}
1616

1717
export const AppStoreProvider = ({ children }: StoreProviderProps) => {
18-
const storeRef = useRef<AppStoreApi>();
18+
const storeRef = useRef<AppStoreApi>(null);
1919
if (!storeRef.current) {
2020
storeRef.current = createStore();
2121
}

0 commit comments

Comments
 (0)