Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/page/www/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const ErrorBoundary = require('../../errorboundary/errorboundary.jsx');
const PrivacyBanner = require('../../privacy-banner/privacy-banner.jsx');
const TosModal = require('../../modal/tos/modal.jsx');
const ParentalConsentView = require('../../../views/parental-consent/parental-consent-view.jsx');
const ALLOWED_PAGES = ['community_guidelines'];
const StudentDeactivationBanner = require('../../student-deactivation-banner/student-deactivation-banner.jsx');
const ALLOWED_PAGES = ['community_guidelines', 'contact_us'];
const today = new Date();
const semi = today.getDate() === 1 && today.getMonth() === 3;

Expand Down Expand Up @@ -45,7 +45,7 @@ const Page = ({
!isAllowedPage &&
!shouldDisplayTosModal;

const shouldDisplayStudentDeactivationBanner = !!user;
const shouldDisplayStudentDeactivationBanner = !!(user.isStudent && user);

return (
<ErrorBoundary componentName="Page">
Expand Down
Loading