diff --git a/services/web/frontend/js/features/project-list/components/notifications/user-notifications.tsx b/services/web/frontend/js/features/project-list/components/notifications/user-notifications.tsx index 39cb727c56..3046435d3a 100644 --- a/services/web/frontend/js/features/project-list/components/notifications/user-notifications.tsx +++ b/services/web/frontend/js/features/project-list/components/notifications/user-notifications.tsx @@ -50,7 +50,7 @@ function UserNotifications() { // Temporary workaround to prevent also showing groups/enterprise banner const [showWritefull, setShowWritefull] = useState(() => { - if (isChromium()) { + if (isChromium() && !showBackToSchoolModal) { const show = getMeta('ol-showWritefullPromoBanner') && !customLocalStorage.getItem('has_dismissed_writefull_promo_banner') @@ -93,17 +93,14 @@ function UserNotifications() { splitTestName={inrGeoBannerSplitTestName} /> ) : null} - {showBackToSchoolModal ? ( - - ) : ( - { - setDismissedWritefull(true) - }} - /> - )} + {showBackToSchoolModal && } + { + setDismissedWritefull(true) + }} + /> )