chore: fix linter issues

This commit is contained in:
Siyuan Miao
2025-05-22 11:16:30 +02:00
parent 21e30c60ea
commit 2272247668
4 changed files with 4 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ export default function SettingsKeyboardRoute() {
if ("error" in resp) return;
setKeyboardLayout(resp.result as string);
});
}, []);
}, []); // eslint-disable-line react-hooks/exhaustive-deps
const onKeyboardLayoutChange = useCallback(
(e: React.ChangeEvent<HTMLSelectElement>) => {

View File

@@ -20,8 +20,8 @@ import { LinkButton } from "@/components/Button";
import LoadingSpinner from "@/components/LoadingSpinner";
import { useUiStore } from "@/hooks/stores";
import useKeyboard from "@/hooks/useKeyboard";
import { FeatureFlag } from "../components/FeatureFlag";
import { FeatureFlag } from "../components/FeatureFlag";
import { cx } from "../cva.config";