feat(onDelete): Redirect to previous page to preserve filters (#5818)

This commit is contained in:
Rémi Marseault
2025-06-02 09:12:17 +02:00
committed by GitHub
parent 91ac2833f5
commit 86848e7d70
7 changed files with 11 additions and 11 deletions

View File

@@ -375,10 +375,10 @@ const StudioPage: React.FC<IProps> = ({ studio, tabKey }) => {
await deleteStudio();
} catch (e) {
Toast.error(e);
return;
}
// redirect to studios page
history.push(`/studios`);
history.goBack();
}
function renderDeleteAlert() {