Skip to content

Commit

Permalink
Comment on why not to show blocked modal if user isn't blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamik10 committed Dec 19, 2023
1 parent dccc5ba commit bcf74a6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const BlockedModal: FC<BlockedModalProps> = ({ blockedStatus }) => {

const { blockedModal } = getModalIds();

// If the user isn't actually blocked, don't render the modal.
if (!blockedStatus || blockedStatus === "") {
return null;
}
Expand Down

0 comments on commit bcf74a6

Please sign in to comment.