Commit d6a940ad authored by tom's avatar tom

fix tx raw trace socket

parent af6ebf25
...@@ -37,7 +37,7 @@ const TxRawTrace = () => { ...@@ -37,7 +37,7 @@ const TxRawTrace = () => {
const channel = useSocketChannel({ const channel = useSocketChannel({
topic: `transactions:${ hash }`, topic: `transactions:${ hash }`,
isDisabled: !hash || !txInfo.isPlaceholderData || !txInfo.data?.status, isDisabled: !hash || txInfo.isPlaceholderData || !txInfo.data?.status,
onJoin: () => setIsSocketOpen(true), onJoin: () => setIsSocketOpen(true),
}); });
useSocketMessage({ useSocketMessage({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment