Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge hotfix back into develop #47

Merged
merged 13 commits into from
Jul 12, 2024
Merged
4 changes: 2 additions & 2 deletions src/pages/Gateway/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down
1 change: 0 additions & 1 deletion src/pages/Gateways/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const Gateways = () => {
useEffect(() => {
const tableData: Array<TableData> = Object.entries(gateways ?? {}).reduce(
(acc: Array<TableData>, [owner, gateway]) => {
gateway.stats.passedConsecutiveEpochs;
return [
...acc,
{
Expand Down
Loading