diff --git a/src/pages/Gateway/index.tsx b/src/pages/Gateway/index.tsx index 7be3368..9dde81d 100644 --- a/src/pages/Gateway/index.tsx +++ b/src/pages/Gateway/index.tsx @@ -293,7 +293,7 @@ const Gateway = () => { ? parseFloat(changed.stake as string) : undefined; - const updateGatewaySettingsParams: UpdateGatewaySettingsParams = { + const updateGatewaySettingsParams: UpdateGatewaySettingsParams & { observerAddress: string }= { allowDelegatedStaking: changed.allowDelegatedStaking as boolean, delegateRewardShareRatio: formState.allowDelegatedStaking && changed.delegateRewardShareRatio @@ -310,7 +310,7 @@ const Gateway = () => { note: changed.note as string, properties: changed.properties as string, autoStake: changed.autoStake as boolean, - observerWallet: changed.observerAddress as string, + observerAddress: changed.observerAddress as string, }; setShowBlockingMessageModal(true); diff --git a/src/pages/Gateways/index.tsx b/src/pages/Gateways/index.tsx index 56db7bf..cb8b454 100644 --- a/src/pages/Gateways/index.tsx +++ b/src/pages/Gateways/index.tsx @@ -36,7 +36,6 @@ const Gateways = () => { useEffect(() => { const tableData: Array = Object.entries(gateways ?? {}).reduce( (acc: Array, [owner, gateway]) => { - gateway.stats.passedConsecutiveEpochs; return [ ...acc, {