diff --git a/app/javascript/components/TeacherSetDetails/TeacherSetDetails.jsx b/app/javascript/components/TeacherSetDetails/TeacherSetDetails.jsx index 094e0480..f71ab967 100644 --- a/app/javascript/components/TeacherSetDetails/TeacherSetDetails.jsx +++ b/app/javascript/components/TeacherSetDetails/TeacherSetDetails.jsx @@ -534,7 +534,7 @@ export default function TeacherSetDetails(props) { }; const inactiveSchoolMessage = () => { - if (currentUserStatus !== undefined && isSchoolActive !== "" && isSchoolActive == false) { + if (currentUserStatus && isSchoolActive === false) { return ( Your school is inactive, so your account is restricted. Please contact help@mylibrarynyc.org. } type="warning" />)