Fix unused imports, coding style

This commit is contained in:
Johannes Kanefendt 2021-08-18 09:59:13 +02:00
parent a7f0708845
commit 235dee0af6
3 changed files with 3 additions and 4 deletions

View File

@ -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"),