mirror of
https://github.com/umami-software/umami.git
synced 2026-02-23 22:15:35 +01:00
go back to team settings on team delete
This commit is contained in:
parent
0016a9f4e1
commit
8969a010e8
2 changed files with 13 additions and 5 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import { useApi, useMessages } from 'components/hooks';
|
||||
import { touch } from 'store/modified';
|
||||
import TypeConfirmationForm from 'components/common/TypeConfirmationForm';
|
||||
import { useApi, useMessages } from 'components/hooks';
|
||||
|
||||
const CONFIRM_VALUE = 'DELETE';
|
||||
|
||||
|
|
@ -22,7 +21,6 @@ export function TeamDeleteForm({
|
|||
const handleConfirm = async () => {
|
||||
mutate(null, {
|
||||
onSuccess: async () => {
|
||||
touch('teams');
|
||||
onSave?.();
|
||||
onClose?.();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue