Skip to content

Commit

Permalink
Merge pull request #47 from ar-io/main
Browse files Browse the repository at this point in the history
Merge hotfix back into develop
  • Loading branch information
kunstmusik authored Jul 12, 2024
2 parents eb296d1 + 8589cec commit fa73e66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
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

0 comments on commit fa73e66

Please sign in to comment.