Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Sep 13, 2023
1 parent c06236c commit f0be927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/core/js/src/forum/components/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import classList from '../../common/utils/classList';
import type Mithril from 'mithril';
import HeaderListItem from './HeaderListItem';
import ItemList from '../../common/utils/ItemList';
import Avatar from "../../common/components/Avatar";
import Avatar from '../../common/components/Avatar';

export interface INotificationAttrs extends ComponentAttrs {
notification: NotificationModel;
Expand All @@ -25,7 +25,7 @@ export default abstract class Notification<CustomAttrs extends INotificationAttr
return (
<HeaderListItem
className={classList('Notification', `Notification--${notification.contentType()}`, [!notification.isRead() && 'unread'])}
avatar=<Avatar user={fromUser || null}/>
avatar={<Avatar user={fromUser || null} />}
icon={this.icon()}
content={this.content()}
excerpt={this.excerpt()}
Expand Down

0 comments on commit f0be927

Please sign in to comment.