Skip to content

Commit

Permalink
fix: typo in CameraAdminModal, #259
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielrindlaub committed Jan 11, 2025
1 parent 6531efc commit b3a2765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/cameras/CameraAdminModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const CameraAdminModal = () => {
const project = useSelector(selectSelectedProject);
const userRoles = useSelector(selectUserCurrentRoles);
const [showSaveDepForm, setShowSaveDepForm] = useState(false);
const [showDeleteDeptForm, setShowDeleteDepForm] = useState(false);
const [showDeleteDepForm, setShowDeleteDepForm] = useState(false);
const [cameraSelected, setCameraSelected] = useState();
const [deploymentSelected, setDeploymentSelected] = useState();
const dispatch = useDispatch();
Expand Down Expand Up @@ -92,7 +92,7 @@ const CameraAdminModal = () => {
deployment={deploymentSelected}
handleClose={handleCancelEditClick}
/>
) : showDeleteDeptForm ? (
) : showDeleteDepForm ? (
<DeleteDeploymentForm
cameraId={cameraSelected}
deployment={deploymentSelected}
Expand Down

0 comments on commit b3a2765

Please sign in to comment.