[chore] Settings refactor 2: the re-refactoring-ing (#2866)

* [chore] Bit more refactoring of settings panel

* fix up some remaining things

* groovy baby yeah!

* remove unused Suspense
This commit is contained in:
tobi 2024-04-25 18:24:24 +02:00 committed by GitHub
commit aecf74951c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 1360 additions and 958 deletions

View file

@ -52,7 +52,15 @@ function ReportDetailForm({ data: report }) {
return (
<div className="report detail">
<div className="usernames">
<Username user={from} /> reported <Username user={target} />
<Username
user={from}
link={`~/settings/moderation/accounts/${from.id}`}
/>
<> reported </>
<Username
user={target}
link={`~/settings/moderation/accounts/${target.id}`}
/>
</div>
{report.action_taken &&