fix type errors
This commit is contained in:
@@ -330,9 +330,7 @@ export const GatewayForm = ({
|
||||
type="submit"
|
||||
data-testid="submit-button"
|
||||
disableElevation
|
||||
onClick={handleSubmit((data) =>
|
||||
handleValidateAndGetFee(data, data.tokenPool === 'balance' ? bondGateway : vestingBondGateway),
|
||||
)}
|
||||
onClick={handleSubmit(handleValidateAndGetFee)}
|
||||
endIcon={isSubmitting && <CircularProgress size={20} />}
|
||||
size="large"
|
||||
>
|
||||
|
||||
@@ -348,9 +348,7 @@ export const MixnodeForm = ({
|
||||
type="submit"
|
||||
data-testid="submit-button"
|
||||
disableElevation
|
||||
onClick={handleSubmit((data) =>
|
||||
handleValidateAndGetFee(data, data.tokenPool === 'balance' ? bondMixNode : vestingBondMixNode),
|
||||
)}
|
||||
onClick={handleSubmit(handleValidateAndGetFee)}
|
||||
endIcon={isSubmitting && <CircularProgress size={20} />}
|
||||
size="large"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user