mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Removed onBackdropClick deprecated property
This commit is contained in:
parent
a3d78e95f2
commit
f9b060af18
9 changed files with 3 additions and 18 deletions
|
@ -58,7 +58,7 @@
|
|||
"update-workbox": "bin/update-workbox.sh"
|
||||
},
|
||||
"homepage": ".",
|
||||
"proxy": "http://localhost:4633/",
|
||||
"proxy": "http://127.0.0.1:4633/",
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"react-app",
|
||||
|
|
|
@ -52,12 +52,7 @@ const LinkToVersion = ({ version }) => {
|
|||
const AboutDialog = ({ open, onClose }) => {
|
||||
const translate = useTranslate()
|
||||
return (
|
||||
<Dialog
|
||||
onClose={onClose}
|
||||
onBackdropClick={onClose}
|
||||
aria-labelledby="about-dialog-title"
|
||||
open={open}
|
||||
>
|
||||
<Dialog onClose={onClose} aria-labelledby="about-dialog-title" open={open}>
|
||||
<DialogTitle id="about-dialog-title" onClose={onClose}>
|
||||
Navidrome Music Server
|
||||
</DialogTitle>
|
||||
|
|
|
@ -139,7 +139,6 @@ export const AddToPlaylistDialog = () => {
|
|||
<Dialog
|
||||
open={open}
|
||||
onClose={handleClickClose}
|
||||
onBackdropClick={handleClickClose}
|
||||
aria-labelledby="form-dialog-new-playlist"
|
||||
fullWidth={true}
|
||||
maxWidth={'sm'}
|
||||
|
|
|
@ -44,7 +44,6 @@ const DownloadMenuDialog = () => {
|
|||
<Dialog
|
||||
open={open}
|
||||
onClose={handleClose}
|
||||
onBackdropClick={handleClose}
|
||||
aria-labelledby="download-dialog"
|
||||
fullWidth={true}
|
||||
maxWidth={'sm'}
|
||||
|
|
|
@ -21,7 +21,6 @@ const DuplicateSongDialog = ({
|
|||
<Dialog
|
||||
open={open}
|
||||
onClose={handleClickClose}
|
||||
onBackdropClick={handleClickClose}
|
||||
aria-labelledby="form-dialog-duplicate-song"
|
||||
>
|
||||
<DialogTitle id="form-dialog-duplicate-song">
|
||||
|
|
|
@ -25,7 +25,6 @@ const ExpandInfoDialog = ({ title, content }) => {
|
|||
<Dialog
|
||||
open={open}
|
||||
onClose={handleClose}
|
||||
onBackdropClick={handleClose}
|
||||
aria-labelledby="info-dialog-album"
|
||||
fullWidth={true}
|
||||
maxWidth={'sm'}
|
||||
|
|
|
@ -73,11 +73,7 @@ export const HelpDialog = (props) => {
|
|||
return (
|
||||
<>
|
||||
<GlobalHotKeys keyMap={keyMap} handlers={handlers} allowChanges />
|
||||
<HelpTable
|
||||
open={open}
|
||||
onClose={handleClickClose}
|
||||
onBackdropClick={handleClickClose}
|
||||
/>
|
||||
<HelpTable open={open} onClose={handleClickClose} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -82,7 +82,6 @@ export const ListenBrainzTokenDialog = ({ setLinked }) => {
|
|||
<Dialog
|
||||
open={open}
|
||||
onClose={handleClickClose}
|
||||
onBackdropClick={handleClickClose}
|
||||
aria-labelledby="form-dialog-listenbrainz-token"
|
||||
fullWidth={true}
|
||||
maxWidth="md"
|
||||
|
|
|
@ -93,7 +93,6 @@ export const ShareDialog = () => {
|
|||
<Dialog
|
||||
open={open}
|
||||
onClose={handleClose}
|
||||
onBackdropClick={handleClose}
|
||||
aria-labelledby="share-dialog"
|
||||
fullWidth={true}
|
||||
maxWidth={'sm'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue