Use redux for ShareDialog
This commit is contained in:
@@ -67,12 +67,12 @@ const DownloadMenuDialog = () => {
|
||||
</SimpleForm>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
<Button onClick={handleDownload} color="primary">
|
||||
{translate('ra.action.download')}
|
||||
</Button>
|
||||
<Button onClick={handleClose} color="secondary">
|
||||
{translate('ra.action.close')}
|
||||
</Button>
|
||||
<Button onClick={handleDownload} color="primary">
|
||||
{translate('ra.action.download')}
|
||||
</Button>
|
||||
</DialogActions>
|
||||
</Dialog>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user