fix(explorer): tx viewer dropdown did not correctly represent state (#2780)
This commit is contained in:
parent
1861852852
commit
06f44b67de
@ -63,7 +63,7 @@ export const TxDataView = ({ txData, blockData }: TxDataViewProps) => {
|
|||||||
<Select
|
<Select
|
||||||
placeholder="View as..."
|
placeholder="View as..."
|
||||||
onChange={(v) => setShowTxData(v.target.value as ShowTxDataType)}
|
onChange={(v) => setShowTxData(v.target.value as ShowTxDataType)}
|
||||||
value={'JSON'}
|
value={showTxData}
|
||||||
>
|
>
|
||||||
<option value={'JSON'}>JSON</option>
|
<option value={'JSON'}>JSON</option>
|
||||||
<option value={'base64'}>Base64</option>
|
<option value={'base64'}>Base64</option>
|
||||||
|
Loading…
Reference in New Issue
Block a user