Skip to content

Commit

Permalink
no notifications for unaurhorized
Browse files Browse the repository at this point in the history
  • Loading branch information
Ko71k committed Dec 16, 2024
1 parent 46b59b0 commit 53c6b20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/src/components/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ export class Header {
});

buttons.appendChild(btnMyFavorites);
}

const notificationsContainer = document.createElement('div');
notificationsContainer.className = 'notifications-container';
Expand All @@ -183,9 +182,10 @@ export class Header {
});

buttons.appendChild(btnNotifications);

headerElement.appendChild(buttons);
headerElement.appendChild(notificationsContainer);
}
headerElement.appendChild(buttons);

return headerElement;
}
async fetchProfilePic() {
Expand Down

0 comments on commit 53c6b20

Please sign in to comment.