mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-30 03:03:06 -05:00
fix(client): non-serializable-payload error (#62664)
This commit is contained in:
committed by
GitHub
parent
7f89b11e4e
commit
f3239ffc22
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user