packages/react-params/src/Param/BasicAccountIdBase.tsx
Function BasicAccountIdBase
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function BasicAccountIdBase (props: Props): React.ReactElement<Props> {
const { bytesLength, className = '', defaultValue: { value }, isDisabled, isError, label, onChange } = props;
const [defaultValue] = useState(() => (value as string)?.toString());
const _onChange = useCallback(