chore: redirect to sign in page instead of top page when signing out (#32)

This commit is contained in:
Takeshi Kimata
2024-09-22 12:20:54 +09:00
committed by GitHub
parent cabce11143
commit 6ec754d248
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ export default function DropdownLanguage({ locale, onChangeLocale }: Props) {
</DropdownTrigger>
<DropdownMenu aria-label="lacales">
{locales.map((entry) => (
<DropdownItem key={entry.code} onClick={() => onChangeLocale(entry.code)}>
<DropdownItem key={entry.code} onPress={() => onChangeLocale(entry.code)}>
{entry.name}
</DropdownItem>
))}