Skip to content

Commit

Permalink
Some late v2 chakra fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gausie committed Dec 12, 2024
1 parent 3791f26 commit 9e40613
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/greenbox-web/src/components/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function MainPage() {
}, [dispatch]);

const toast = useToast();
const clashToast = useRef<ToastId>();
const clashToast = useRef<ToastId>(null);
const data = useAppSelector((state) => state.playerData);
const loading = useAppSelector((state) => state.loading);
const error = useAppSelector((state) => state.error);
Expand Down
3 changes: 2 additions & 1 deletion packages/greenbox-web/src/components/Spinner.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Box, keyframes, useColorModeValue } from "@chakra-ui/react";
import { Box, useColorModeValue } from "@chakra-ui/react";
import { keyframes } from "@emotion/react";

import Image from "./Image.js";

Expand Down

0 comments on commit 9e40613

Please sign in to comment.