Removed onBackdropClick deprecated property

This commit is contained in:
Deluan 2023-05-17 15:48:22 -04:00
parent a3d78e95f2
commit f9b060af18
9 changed files with 3 additions and 18 deletions

View file

@ -58,7 +58,7 @@
"update-workbox": "bin/update-workbox.sh" "update-workbox": "bin/update-workbox.sh"
}, },
"homepage": ".", "homepage": ".",
"proxy": "http://localhost:4633/", "proxy": "http://127.0.0.1:4633/",
"eslintConfig": { "eslintConfig": {
"extends": [ "extends": [
"react-app", "react-app",

View file

@ -52,12 +52,7 @@ const LinkToVersion = ({ version }) => {
const AboutDialog = ({ open, onClose }) => { const AboutDialog = ({ open, onClose }) => {
const translate = useTranslate() const translate = useTranslate()
return ( return (
<Dialog <Dialog onClose={onClose} aria-labelledby="about-dialog-title" open={open}>
onClose={onClose}
onBackdropClick={onClose}
aria-labelledby="about-dialog-title"
open={open}
>
<DialogTitle id="about-dialog-title" onClose={onClose}> <DialogTitle id="about-dialog-title" onClose={onClose}>
Navidrome Music Server Navidrome Music Server
</DialogTitle> </DialogTitle>

View file

@ -139,7 +139,6 @@ export const AddToPlaylistDialog = () => {
<Dialog <Dialog
open={open} open={open}
onClose={handleClickClose} onClose={handleClickClose}
onBackdropClick={handleClickClose}
aria-labelledby="form-dialog-new-playlist" aria-labelledby="form-dialog-new-playlist"
fullWidth={true} fullWidth={true}
maxWidth={'sm'} maxWidth={'sm'}

View file

@ -44,7 +44,6 @@ const DownloadMenuDialog = () => {
<Dialog <Dialog
open={open} open={open}
onClose={handleClose} onClose={handleClose}
onBackdropClick={handleClose}
aria-labelledby="download-dialog" aria-labelledby="download-dialog"
fullWidth={true} fullWidth={true}
maxWidth={'sm'} maxWidth={'sm'}

View file

@ -21,7 +21,6 @@ const DuplicateSongDialog = ({
<Dialog <Dialog
open={open} open={open}
onClose={handleClickClose} onClose={handleClickClose}
onBackdropClick={handleClickClose}
aria-labelledby="form-dialog-duplicate-song" aria-labelledby="form-dialog-duplicate-song"
> >
<DialogTitle id="form-dialog-duplicate-song"> <DialogTitle id="form-dialog-duplicate-song">

View file

@ -25,7 +25,6 @@ const ExpandInfoDialog = ({ title, content }) => {
<Dialog <Dialog
open={open} open={open}
onClose={handleClose} onClose={handleClose}
onBackdropClick={handleClose}
aria-labelledby="info-dialog-album" aria-labelledby="info-dialog-album"
fullWidth={true} fullWidth={true}
maxWidth={'sm'} maxWidth={'sm'}

View file

@ -73,11 +73,7 @@ export const HelpDialog = (props) => {
return ( return (
<> <>
<GlobalHotKeys keyMap={keyMap} handlers={handlers} allowChanges /> <GlobalHotKeys keyMap={keyMap} handlers={handlers} allowChanges />
<HelpTable <HelpTable open={open} onClose={handleClickClose} />
open={open}
onClose={handleClickClose}
onBackdropClick={handleClickClose}
/>
</> </>
) )
} }

View file

@ -82,7 +82,6 @@ export const ListenBrainzTokenDialog = ({ setLinked }) => {
<Dialog <Dialog
open={open} open={open}
onClose={handleClickClose} onClose={handleClickClose}
onBackdropClick={handleClickClose}
aria-labelledby="form-dialog-listenbrainz-token" aria-labelledby="form-dialog-listenbrainz-token"
fullWidth={true} fullWidth={true}
maxWidth="md" maxWidth="md"

View file

@ -93,7 +93,6 @@ export const ShareDialog = () => {
<Dialog <Dialog
open={open} open={open}
onClose={handleClose} onClose={handleClose}
onBackdropClick={handleClose}
aria-labelledby="share-dialog" aria-labelledby="share-dialog"
fullWidth={true} fullWidth={true}
maxWidth={'sm'} maxWidth={'sm'}