mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-23 04:36:52 +00:00
catch error with console
This commit is contained in:
@@ -74,7 +74,9 @@ export const Minting = ({
|
||||
}
|
||||
const data = await response.json();
|
||||
setMintingAccounts(data);
|
||||
} catch (error) {}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
}, []);
|
||||
|
||||
const accountIsMinting = useMemo(() => {
|
||||
@@ -199,7 +201,9 @@ export const Minting = ({
|
||||
const data = await response.json();
|
||||
setRewardShares(data);
|
||||
return data;
|
||||
} catch (error) {}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
}, []);
|
||||
|
||||
const addMintingAccount = useCallback(async (val) => {
|
||||
|
Reference in New Issue
Block a user