type StakingAppAuthDataBaseProps = {
status: Exclude<AuthorizationStatus, "authorization-not-required">
authorizedStake: string
percentage: number
pendingAuthorizationDecrease: string
isDeauthorizationReqestActive: boolean
/**
* Timestamp when the deauthorization request was created. Takes an
* `undefined` value if it cannot be estimated.
*/
deauthorizationCreatedAt?: string
/**
* Time in seconds until the deauthorization can be completed.
*/
remainingAuthorizationDecreaseDelay: string
isOperatorInPool: boolean | undefined
operator: string
}
User ran into an issue when attempting to deauth their stake. tBTC and RB worked fine, TACo failed.
Using impersonator I got this error in the console:
This PR adds a simple check to see if the app is TACo and avoid the
isOperatorInPool
method.I'm unsure if this function in
src/pages/Staking/AuthorizeStakingApps/AuthorizeApplicationsCardCheckbox/index.tsx
also needs to changethe type that is being used is:
and so
isOperatorInPool
can be undefined