fix(client): non-serializable-payload error (#62664)

This commit is contained in:
Oliver Eyton-Williams
2025-10-10 14:46:49 +02:00
committed by GitHub
parent 7f89b11e4e
commit f3239ffc22

View File

@@ -246,7 +246,7 @@ function NavLinks({
<button
aria-pressed={theme === LocalStorageThemes.Dark}
className={'nav-link nav-link-flex'}
onClick={toggleTheme}
onClick={() => toggleTheme()}
onKeyDown={currentUserName ? handleMenuKeyDown : handleSignOutKeys}
>
<span>{t('settings.labels.night-mode')}</span>