Fix unused imports, coding style
This commit is contained in:
parent
a7f0708845
commit
235dee0af6
@ -7,7 +7,6 @@ import {
|
|||||||
BulkDeleteButton,
|
BulkDeleteButton,
|
||||||
DateField,
|
DateField,
|
||||||
Datagrid,
|
Datagrid,
|
||||||
DeleteButton,
|
|
||||||
Filter,
|
Filter,
|
||||||
List,
|
List,
|
||||||
NumberField,
|
NumberField,
|
||||||
@ -490,7 +489,7 @@ export const DeleteRoomButton = props => {
|
|||||||
onSuccess: () => {
|
onSuccess: () => {
|
||||||
notify("resources.rooms.action.erase.send_success");
|
notify("resources.rooms.action.erase.send_success");
|
||||||
handleDialogClose();
|
handleDialogClose();
|
||||||
redirect('/rooms');
|
redirect("/rooms");
|
||||||
},
|
},
|
||||||
onFailure: () =>
|
onFailure: () =>
|
||||||
notify("resources.rooms.action.erase.send_failure", "error"),
|
notify("resources.rooms.action.erase.send_failure", "error"),
|
||||||
|
Loading…
Reference in New Issue
Block a user