mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-31 06:01:24 +00:00
added publishing and deleting of images
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//TODO
|
||||
|
||||
import { useRef, useState, useCallback, useMemo } from 'react';
|
||||
|
||||
interface State {
|
||||
@@ -34,7 +36,7 @@ export const useModal = () => {
|
||||
const onCancel = useCallback(() => {
|
||||
const { reject } = promiseConfig.current || {};
|
||||
hide();
|
||||
reject?.();
|
||||
reject?.('Declined');
|
||||
}, [hide]);
|
||||
|
||||
return useMemo(
|
||||
|
Reference in New Issue
Block a user