Update to react v19

This commit is contained in:
schroda
2025-04-18 20:42:41 +02:00
parent 213f561fe4
commit 3f93549f34
22 changed files with 52 additions and 58 deletions

View File

@@ -15,6 +15,7 @@ import React, {
useMemo,
useRef,
useState,
type JSX,
} from 'react';
import Grid, { GridTypeMap } from '@mui/material/Grid';
import Box, { BoxProps } from '@mui/material/Box';
@@ -164,7 +165,7 @@ const VerticalGrid = forwardRef(
const snapshotSessionKey = getGridSnapshotKey(location);
const [snapshot] = useSessionStorage<GridStateSnapshot | undefined>(snapshotSessionKey, undefined);
const persistGridStateTimeout = useRef<NodeJS.Timeout | undefined>();
const persistGridStateTimeout = useRef<NodeJS.Timeout | undefined>(undefined);
const persistGridState = (gridState: GridStateSnapshot) => {
const currentUrl = window.location.href;