Skip to content

Commit

Permalink
Fixed double eq vs triple eq comparison error in EmergencyFlow.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
r800360 committed Jun 4, 2024
1 parent 8d6e677 commit 1e4bd35
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions admin-portal-frontend/src/app/pages/EmergencyFlow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,8 @@ const EmergencyFlow: React.FC = () => {
// banner, modal, popup, or similar.
if (
!emergencyTitle ||
emergencyTitle == "" ||
emergencyTitle === "" ||
!emergencySubtitle ||
emergencySubtitle == "" ||
emergencyTitle === ""
) {
alert("Missing required title or subtitle fields. Please resubmit the form.");
Expand Down

0 comments on commit 1e4bd35

Please sign in to comment.