Skip to content

Commit

Permalink
Merge pull request #26 from newfold-labs/fix/classNames
Browse files Browse the repository at this point in the history
remove methods.classnames as its not used
  • Loading branch information
circlecube authored Jul 3, 2024
2 parents 2e0474d + e83f423 commit 7c9b2d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/components/notifications/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const Notifications = ({methods, constants, ...props}) => {

if (`${window.NewfoldRuntime.plugin.brand}-app-nav` === constants.context && activeNotifications.length > 0) {
return (
<div className={methods.classnames('newfold-nav-notifications-wrapper nfd-mt-4')}>
<div className={'newfold-nav-notifications-wrapper nfd-mt-4'}>
<Notification
id={activeNotifications[0].id}
key={activeNotifications[0].id}
Expand All @@ -164,7 +164,7 @@ const Notifications = ({methods, constants, ...props}) => {
);
} else {
return (
<div className={methods.classnames('newfold-notifications-wrapper')}>
<div className={'newfold-notifications-wrapper'}>
{activeNotifications.map(notification => (
<Notification
id={notification.id}
Expand Down

0 comments on commit 7c9b2d9

Please sign in to comment.