mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
Added menu options for cloud mode. Async fixes.
This commit is contained in:
parent
4df6f06485
commit
f639bb07f4
12 changed files with 47 additions and 27 deletions
|
|
@ -17,7 +17,7 @@ export function PixelDeleteButton({
|
|||
const { mutateAsync, isPending, error } = useDeleteQuery(`/pixels/${pixelId}`);
|
||||
const { touch } = useModified();
|
||||
|
||||
const handleConfirm = (close: () => void) => {
|
||||
const handleConfirm = async (close: () => void) => {
|
||||
await mutateAsync(null, {
|
||||
onSuccess: () => {
|
||||
touch('pixels');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue