Display Option<Type> on RPC toolbox (#1685)
This commit is contained in:
parent
99e8464dcb
commit
1f30baba76
@ -42,7 +42,7 @@ class Selection extends TxComponent<Props, State> {
|
||||
const params = rpc.params.map(({ isOptional, name, type }): ParamDef => ({
|
||||
isOptional,
|
||||
name,
|
||||
type: getTypeDef(type)
|
||||
type: getTypeDef(isOptional ? `Option<${type}>` : type)
|
||||
}));
|
||||
|
||||
return (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user