Simplify class attribute assignment in user form

This commit is contained in:
Kosztyk 2026-01-12 20:35:42 +02:00 committed by GitHub
parent a09aa1ef50
commit 721e8edf33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -862,9 +862,7 @@ export const user = new Elysia()
<form
method="post"
action={`${WEBROOT}/account/edit-user`}
class={`
flex flex-col gap-4
`}
class="flex flex-col gap-4"
>
<input type="hidden" name="userId" value={String(targetUser.id)} />
<fieldset class="mb-4 flex flex-col gap-4">