Remove unecessary async modifier

pull/6/head
J M Rossy 2 years ago
parent 820f6cbb28
commit b24933c7fb
  1. 2
      src/features/debugger/TxDebugger.tsx

@ -40,7 +40,7 @@ export function TxDebugger() {
data, data,
} = useQuery( } = useQuery(
['debugMessage', isValidInput, sanitizedInput, environment], ['debugMessage', isValidInput, sanitizedInput, environment],
async () => { () => {
if (!isValidInput || !sanitizedInput) { if (!isValidInput || !sanitizedInput) {
replacePathParam('txHash', ''); replacePathParam('txHash', '');
return null; return null;

Loading…
Cancel
Save