chore: updates

This commit is contained in:
Tristan Yang
2023-01-05 22:30:10 +08:00
parent 337ea90312
commit 4ebd8902a8
8 changed files with 26 additions and 41 deletions
+5 -5
View File
@@ -15,14 +15,14 @@ interface IOptions {
official: string,
custom: string
}
const Options: IOptions = {
disable: "Disable",
official: "Use Official Configuration",
custom: "Custom"
};
export default function ConfigFirebase() {
const { values, setValues, updateConfig, changed, reset } = useConfig("firebase");
const { t } = useTranslation("setting");
const Options: IOptions = {
disable: t("firebase.disable"),
official: t("firebase.use_official"),
custom: t("firebase.custom")
};
let select: keyof IOptions | "" = "";
if (values) {
const {