Fix JSX syntax error on notifications page
The body span was missing its closing brace, which broke typecheck and the web Docker build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -52,7 +52,7 @@ export default function NotificationsPage() {
|
|||||||
<Avatar user={n.actor} size={40} />
|
<Avatar user={n.actor} size={40} />
|
||||||
<span className="notification-text">
|
<span className="notification-text">
|
||||||
<strong>{title}</strong>
|
<strong>{title}</strong>
|
||||||
<span>{body</span >
|
<span>{body}</span>
|
||||||
<span className="muted">{timeAgo(n.createdAt)}</span>
|
<span className="muted">{timeAgo(n.createdAt)}</span>
|
||||||
</span>
|
</span>
|
||||||
{n.track?.artworkUrl && <img className="artwork-sm" src={n.track.artworkUrl} alt="" />}
|
{n.track?.artworkUrl && <img className="artwork-sm" src={n.track.artworkUrl} alt="" />}
|
||||||
@@ -77,7 +77,7 @@ export default function NotificationsPage() {
|
|||||||
<Avatar user={n.actor} size={40} />
|
<Avatar user={n.actor} size={40} />
|
||||||
<span className="notification-text">
|
<span className="notification-text">
|
||||||
<strong>{title}</strong>
|
<strong>{title}</strong>
|
||||||
<span>{body</span >
|
<span>{body}</span>
|
||||||
<span className="muted">{timeAgo(n.createdAt)}</span>
|
<span className="muted">{timeAgo(n.createdAt)}</span>
|
||||||
</span>
|
</span>
|
||||||
{n.track?.artworkUrl && <img className="artwork-sm" src={n.track.artworkUrl} alt="" />}
|
{n.track?.artworkUrl && <img className="artwork-sm" src={n.track.artworkUrl} alt="" />}
|
||||||
@@ -92,6 +92,6 @@ export default function NotificationsPage() {
|
|||||||
Show more
|
Show more
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
</div >
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user