style(frontend): apply ultracite 7.12 formatting and lint rules
This commit is contained in:
1 parent
fc4758aa0b
commit
c8e5cff871
109 files changed
+845
-817
No files matched your search
@@ -34,7 +34,7 @@
|
||||
const actor = $derived(nameOf(message.sender_id));
|
||||
|
||||
const text = $derived.by(() => {
|
||||
const service = message.service;
|
||||
const { service } = message;
|
||||
if (!service) {
|
||||
return "";
|
||||
}
|
||||
@@ -85,14 +85,15 @@
|
||||
<div class="ActionMessage">
|
||||
{#if pinned}
|
||||
<button
|
||||
type="button"
|
||||
class="pill action"
|
||||
onclick={() => {
|
||||
const id = message.service?.pinned_message_id;
|
||||
// biome-ignore lint/suspicious/noEqualsToNull: optional chaining yields undefined here
|
||||
if (id != null) {
|
||||
onjump(id);
|
||||
}
|
||||
}}
|
||||
type="button"
|
||||
>
|
||||
<Icon name="pin" size="0.8125rem" />
|
||||
<span>{text}</span>
|
||||
|
||||
Reference in new issue
Block a user