mirror of
https://github.com/umami-software/umami.git
synced 2026-02-23 22:15:35 +01:00
fix search for segments, fix hooks endpoint for cohorts
This commit is contained in:
parent
2f1f704728
commit
65024d4bf7
6 changed files with 43 additions and 10 deletions
|
|
@ -19,7 +19,7 @@ export function CohortDeleteButton({
|
|||
const { formatMessage, labels } = useMessages();
|
||||
const { del, useMutation } = useApi();
|
||||
const { mutate, isPending, error } = useMutation({
|
||||
mutationFn: () => del(`/websites/${websiteId}/cohorts/${cohortId}`),
|
||||
mutationFn: () => del(`/websites/${websiteId}/segments/${cohortId}`),
|
||||
});
|
||||
const { touch } = useModified();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue