Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-jeremy committed Jan 4, 2024
1 parent 0c36bb5 commit 8331474
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/desktop-client/src/components/modals/EditRule.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -604,11 +604,7 @@ const conditionFields = [
['amount-outflow', mapField('amount', { outflow: true })],
]);

export function EditRule({
modalProps,
defaultRule,
onSave: originalOnSave,
}) {
export function EditRule({ modalProps, defaultRule, onSave: originalOnSave }) {
const [conditions, setConditions] = useState(
defaultRule.conditions.map(parse),
);
Expand Down

0 comments on commit 8331474

Please sign in to comment.