Refactor dialogs, make it simple to add a new dialog to all views

This commit is contained in:
Deluan
2023-01-24 11:53:42 -05:00
parent 26be5b8396
commit 17d9573f4d
10 changed files with 14 additions and 28 deletions
+11
View File
@@ -0,0 +1,11 @@
import { AddToPlaylistDialog } from './AddToPlaylistDialog'
import DownloadMenuDialog from './DownloadMenuDialog'
import { HelpDialog } from './HelpDialog'
export const Dialogs = (props) => (
<>
<AddToPlaylistDialog />
<DownloadMenuDialog />
<HelpDialog />
</>
)
+1 -2
View File
@@ -1,5 +1,4 @@
export * from './AboutDialog'
export * from './AddToPlaylistDialog'
export * from './SelectPlaylistInput'
export * from './HelpDialog'
export * from './ListenBrainzTokenDialog'
export * from './Dialogs'