This commit is contained in:
onysd 2026-07-24 22:46:05 +03:00
parent b443ff0c73
commit 3325e793f9
10 changed files with 76 additions and 121 deletions

View file

@ -2,7 +2,7 @@ import type { FormEvent } from "react";
import { useState } from "react";
import { api, errorMessage } from "../api";
import { Alert } from "../components/ui";
import { LanguageSwitch, useI18n } from "../i18n";
import { useI18n } from "../i18n";
import { ThemeSwitch } from "../theme";
export function LoginPage({ onLogin }: { onLogin: (actor: string) => void }) {
@ -38,7 +38,6 @@ export function LoginPage({ onLogin }: { onLogin: (actor: string) => void }) {
</div>
<div className="login-head-actions">
<ThemeSwitch />
<LanguageSwitch />
<span className="login-chip">{t("app.localAccess")}</span>
</div>
</div>