fix : bump packages versions

This commit is contained in:
GuillaumeSD
2024-12-29 12:29:51 +01:00
parent 0b8d0ad780
commit c651a08000
37 changed files with 865 additions and 824 deletions

View File

@@ -1,4 +1,4 @@
import { Grid, Typography } from "@mui/material";
import { Grid2 as Grid, Typography } from "@mui/material";
import { useGameDatabase } from "@/hooks/useGameDatabase";
import { useAtomValue } from "jotai";
import { gameAtom } from "../states";
@@ -20,27 +20,26 @@ export default function GamePanel() {
return (
<Grid
item
container
xs={11}
justifyContent="space-evenly"
alignItems="center"
rowGap={1}
columnGap={3}
size={11}
>
<Grid item container xs justifyContent="center" alignItems="center">
<Grid container justifyContent="center" alignItems="center" size="grow">
<Typography noWrap fontSize="0.9rem">
Site : {gameFromUrl?.site || game.header().Site || "?"}
</Typography>
</Grid>
<Grid item container xs justifyContent="center" alignItems="center">
<Grid container justifyContent="center" alignItems="center" size="grow">
<Typography noWrap fontSize="0.9rem">
Date : {gameFromUrl?.date || game.header().Date || "?"}
</Typography>
</Grid>
<Grid item container xs justifyContent="center" alignItems="center">
<Grid container justifyContent="center" alignItems="center" size="grow">
<Typography noWrap fontSize="0.9rem">
Result : {result}
</Typography>

View File

@@ -1,5 +1,5 @@
import { Icon } from "@iconify/react";
import { Grid, Typography } from "@mui/material";
import { Grid2 as Grid, Typography } from "@mui/material";
import GamePanel from "./gamePanel";
import LoadGame from "./loadGame";
import AnalyzeButton from "./analyzeButton";
@@ -12,20 +12,18 @@ export default function PanelHeader() {
return (
<Grid
item
container
justifyContent="center"
alignItems="center"
xs={12}
rowGap={2}
size={12}
>
<Grid
item
container
xs={12}
justifyContent="center"
alignItems="center"
columnGap={1}
size={12}
>
<Icon icon="streamline:clipboard-check" height={24} />
@@ -35,13 +33,12 @@ export default function PanelHeader() {
</Grid>
<Grid
item
container
xs={12}
justifyContent="center"
alignItems="center"
rowGap={2}
columnGap={12}
size={12}
>
<GamePanel />
<LoadGame />