diff --git a/packages/react-components/src/Call.tsx b/packages/react-components/src/Call.tsx index a1a381495e..f0e26f9755 100644 --- a/packages/react-components/src/Call.tsx +++ b/packages/react-components/src/Call.tsx @@ -108,35 +108,31 @@ function Call ({ children, className = '', labelHash, labelSignature, mortality, ('signature {{type}}', { replace: { type: signatureType ? `(${signatureType})` : '' } })} + value={signature} withCopy - > - {signature} - + /> )} {hash && ( ('extrinsic hash')} + value={hash} withCopy - > - {hash} - + /> )} {mortality && ( ('lifetime')} - > - {mortality} - + value={mortality} + /> )} {tip?.gtn(0) && ( ('tip')} - > - - + value={} + /> )} diff --git a/packages/react-components/src/Static.tsx b/packages/react-components/src/Static.tsx index e3edab7efd..3d7be40735 100644 --- a/packages/react-components/src/Static.tsx +++ b/packages/react-components/src/Static.tsx @@ -9,7 +9,7 @@ import Labelled from './Labelled'; interface Props { children?: React.ReactNode; className?: string; - defaultValue?: any; + defaultValue?: unknown; help?: React.ReactNode; isDisabled?: boolean; isError?: boolean; @@ -38,7 +38,7 @@ function Static ({ children, className = '', defaultValue, help, isFull, isHidde {children} {withCopy && ( - + )} );