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 <form
method="post" method="post"
action={`${WEBROOT}/account/edit-user`} action={`${WEBROOT}/account/edit-user`}
class={` class="flex flex-col gap-4"
flex flex-col gap-4
`}
> >
<input type="hidden" name="userId" value={String(targetUser.id)} /> <input type="hidden" name="userId" value={String(targetUser.id)} />
<fieldset class="mb-4 flex flex-col gap-4"> <fieldset class="mb-4 flex flex-col gap-4">