Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyAppeldoorn committed Aug 8, 2023
1 parent 7c87753 commit 6f6f9e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/feed/components/GuidelineInput/GuidelineInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ class GuidelineInput extends Component<Props, State> {
guidelines = data.teamById.guidelines.filter(
(guideline) =>
guideline.kudos - KUDO_GUIDELINE_RANGE <
(this.state.amount || 0) &&
(parseInt(this.state.amount) || 0) &&
guideline.kudos + KUDO_GUIDELINE_RANGE >
(this.state.amount || 0)
(parseInt(this.state.amount) || 0)
);
} else {
guidelines = data.teamById.guidelines;
Expand Down

0 comments on commit 6f6f9e9

Please sign in to comment.