mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update to React 18
This commit is contained in:
parent
b5d6e37fb3
commit
be891c3a98
36 changed files with 339 additions and 311 deletions
|
@ -3,7 +3,7 @@ import Box from '@mui/material/Box';
|
|||
import Drawer from '@mui/material/Drawer';
|
||||
import SwipeableDrawer from '@mui/material/SwipeableDrawer';
|
||||
import useMediaQuery from '@mui/material/useMediaQuery';
|
||||
import React, { FC } from 'react';
|
||||
import React, { type FC, type PropsWithChildren } from 'react';
|
||||
|
||||
import browser from 'scripts/browser';
|
||||
|
||||
|
@ -15,7 +15,7 @@ export interface ResponsiveDrawerProps {
|
|||
onOpen: () => void
|
||||
}
|
||||
|
||||
const ResponsiveDrawer: FC<ResponsiveDrawerProps> = ({
|
||||
const ResponsiveDrawer: FC<PropsWithChildren<ResponsiveDrawerProps>> = ({
|
||||
children,
|
||||
open = false,
|
||||
onClose,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue