+
openUser(status.account.id)}>
@{status.account.acct}
-
+
diff --git a/renderer/pages/accounts/[id]/[timeline].tsx b/renderer/pages/accounts/[id]/[timeline].tsx
index 84904ecc..252e42af 100644
--- a/renderer/pages/accounts/[id]/[timeline].tsx
+++ b/renderer/pages/accounts/[id]/[timeline].tsx
@@ -48,18 +48,15 @@ export default function Page() {
}, [router.query.modal, router.query.report_target_id])
if (!account || !client) return null
- switch (router.query.timeline as string) {
- case 'notifications': {
- return
- }
- default: {
- return (
- <>
-
-
setAttachment(null)} attachment={attachment} />
- {report && setReport(null)} status={report} client={client} />}
- >
- )
- }
- }
+ return (
+ <>
+ {(router.query.timeline as string) === 'notifications' ? (
+
+ ) : (
+
+ )}
+ setAttachment(null)} attachment={attachment} />
+ {report && setReport(null)} status={report} client={client} />}
+ >
+ )
}