mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-13 19:41:22 +00:00
Add console.log to empty catch
This commit is contained in:
parent
ed62c15b65
commit
ab1ed13cdc
27
src/App.tsx
27
src/App.tsx
@ -626,7 +626,9 @@ function App() {
|
|||||||
setIsDisabledEditorEnter(parsedVal);
|
setIsDisabledEditorEnter(parsedVal);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {}
|
} catch (error) {
|
||||||
|
console.log(error);
|
||||||
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -684,7 +686,9 @@ function App() {
|
|||||||
try {
|
try {
|
||||||
if (typeof fileContents !== 'string') return;
|
if (typeof fileContents !== 'string') return;
|
||||||
pf = JSON.parse(fileContents);
|
pf = JSON.parse(fileContents);
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
console.log(error);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const requiredFields = [
|
const requiredFields = [
|
||||||
@ -932,7 +936,9 @@ function App() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
getBalanceFunc();
|
getBalanceFunc();
|
||||||
} catch (error) {}
|
} catch (error) {
|
||||||
|
console.log(error);
|
||||||
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -985,7 +991,6 @@ function App() {
|
|||||||
);
|
);
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
setWalletToBeDownloadedError(error?.message);
|
setWalletToBeDownloadedError(error?.message);
|
||||||
} finally {
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1107,7 +1112,9 @@ function App() {
|
|||||||
error.message || 'An error occurred'
|
error.message || 'An error occurred'
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} catch (error) {}
|
} catch (error) {
|
||||||
|
console.log(error);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const returnToMain = () => {
|
const returnToMain = () => {
|
||||||
@ -2387,17 +2394,7 @@ function App() {
|
|||||||
)}
|
)}
|
||||||
{` ${requestBuyOrder?.crosschainAtInfo?.[0]?.foreignBlockchain}`}
|
{` ${requestBuyOrder?.crosschainAtInfo?.[0]?.foreignBlockchain}`}
|
||||||
</TextP>
|
</TextP>
|
||||||
{/* <Spacer height="29px" />
|
|
||||||
|
|
||||||
<CustomLabel htmlFor="standard-adornment-password">
|
|
||||||
Confirm Wallet Password
|
|
||||||
</CustomLabel>
|
|
||||||
<Spacer height="5px" />
|
|
||||||
<PasswordField
|
|
||||||
id="standard-adornment-password"
|
|
||||||
value={paymentPassword}
|
|
||||||
onChange={(e) => setPaymentPassword(e.target.value)}
|
|
||||||
/> */}
|
|
||||||
<Spacer height="29px" />
|
<Spacer height="29px" />
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user