Skip to content

Commit

Permalink
fix(connect-explorer): method tester details
Browse files Browse the repository at this point in the history
  • Loading branch information
martykan authored and mroz22 committed Dec 27, 2024
1 parent 84a8eb6 commit 50911c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/connect-explorer/src/components/ApiPlayground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const ContentWrapper = styled.div`
`;

const OptionsRow = styled(MethodContent)`
margin-top: -${spacingsPx.sm};
margin-bottom: ${spacingsPx.md};
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion packages/connect-explorer/src/reducers/methodReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const onFieldChange = (state: MethodState, _field: Field<any>, value: any) => {
setAffectedValues(newState, field);
}

return updateParams(newState);
return updateParams({ ...state, fields: newState.fields });
};

// Update field data
Expand Down

0 comments on commit 50911c9

Please sign in to comment.