fix(ST-507): remount email Input on prop change to silence base-ui uncontrolled warning

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Janpeter Visser 2026-04-26 19:46:53 +02:00
parent a1ecf096a3
commit 34e6334051

View file

@ -113,6 +113,7 @@ export function ProfileEditor({ email, bio, bioDetail, hasAvatar, avatarVersion
E-mailadres
</label>
<Input
key={email ?? ''}
id="email"
name="email"
type="email"