Added menu options for cloud mode. Async fixes.
This commit is contained in:
1 parent
4df6f06485
commit
f639bb07f4
12 files changed
+47
-27
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user