refactor(react/ribbon): remove unnecessary hook

This commit is contained in:
Elian Doran
2025-08-25 10:32:11 +03:00
parent 36fb097d1d
commit ccda623840
2 changed files with 1 additions and 28 deletions

View File

@@ -267,7 +267,7 @@ function SharedSwitch({ note }: { note?: FNote | null }) {
}
function NoteLanguageSwitch({ note }: { note?: FNote | null }) {
const [ languages ] = useTriliumOptionBeta("languages");
const [ languages ] = useTriliumOption("languages");
const DEFAULT_LOCALE = {
id: "",
name: t("note_language.not_set")