Skip to content

Commit

Permalink
💄 Gloss: Fix Lint/Prettier Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Jan 9, 2023
1 parent 5e64ced commit f55850b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ModalView/ModalView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ export class ModalView extends
const didModalVisibilityChange =
prevModalVisibility !== nextModalVisibility;

if(!didModalVisibilityChange) return;
if (!didModalVisibilityChange) {
return;
}

this.setState({
isModalVisible: nextModalVisibility,
Expand Down

0 comments on commit f55850b

Please sign in to comment.