mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
refactor(react/ribbon): remove unnecessary hook
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user