diff --git a/packages/app/obojobo-repository/shared/components/__snapshots__/notification.test.js.snap b/packages/app/obojobo-repository/shared/components/__snapshots__/notification.test.js.snap
index 6f6b5859b..494a6c49f 100644
--- a/packages/app/obojobo-repository/shared/components/__snapshots__/notification.test.js.snap
+++ b/packages/app/obojobo-repository/shared/components/__snapshots__/notification.test.js.snap
@@ -30,7 +30,9 @@ exports[`Notification component hides the notification on exit button click 1`]
-
+
Test Title
-
+
Test Notification
diff --git a/packages/app/obojobo-repository/shared/components/notification.jsx b/packages/app/obojobo-repository/shared/components/notification.jsx
index 2f5f0612a..99421506b 100644
--- a/packages/app/obojobo-repository/shared/components/notification.jsx
+++ b/packages/app/obojobo-repository/shared/components/notification.jsx
@@ -38,12 +38,12 @@ const Notification = ({ onDataFromNotification }) => {
return (
-
{title}
+ {title}
onClickExitNotification(key)} className="notification-exit-button">
x
-
{text}
+
{text}
)
}
diff --git a/packages/app/obojobo-repository/shared/components/repository-nav.jsx b/packages/app/obojobo-repository/shared/components/repository-nav.jsx
index 064fcb7fd..9b5b2ef21 100644
--- a/packages/app/obojobo-repository/shared/components/repository-nav.jsx
+++ b/packages/app/obojobo-repository/shared/components/repository-nav.jsx
@@ -24,7 +24,6 @@ const RepositoryNav = props => {
const onBlurHandler = () => {
timeOutId = setTimeout(() => {
setMenuOpen(false)
- setNotificationsOpen(false)
})
}
const onFocusHandler = () => {
@@ -90,10 +89,9 @@ const RepositoryNav = props => {
{props.displayName}
{numberNotifications > 0 && (
-
- {' '}
- {numberNotifications} Notifications{' '}
-
+
+ {numberNotifications} Notifications
+
)}
{
expect(
component.root.findByProps({ className: 'repository--nav--current-user--name' }).children[1]
- .props.children[1]
+ .props.children[0]
).toBe(5)
})
test('renders null when there are no notifications but document.cookie is not null', () => {