diff --git a/client/src/page/feed.tsx b/client/src/page/feed.tsx index f867fc82..de6f6969 100644 --- a/client/src/page/feed.tsx +++ b/client/src/page/feed.tsx @@ -204,12 +204,12 @@ export function FeedPage({ id, TOC, clean }: { id: string, TOC: () => JSX.Elemen )} {counterEnabled &&

- {t("count.pv")} + {t("count.pv")} {feed.pv} | - {t("count.uv")} + {t("count.uv")} {feed.uv} diff --git a/client/src/state/config.tsx b/client/src/state/config.tsx index fb522d29..47144782 100644 --- a/client/src/state/config.tsx +++ b/client/src/state/config.tsx @@ -10,7 +10,7 @@ export const defaultClientConfig = new Map(Object.entries({ export const defaultServerConfig = new Map(Object.entries({ "friend_apply_auto_accept": false, "friend_crontab": true, - "friend_ua":"Rin-Check/0.1.0" + "friend_ua": "Rin-Check/0.1.0" })) export class ConfigWrapper { @@ -22,7 +22,7 @@ export class ConfigWrapper { } get(key: string) { const value = this.config[key]; - if (value != undefined && value != "") { + if (value != undefined && value !== "") { return value as T; } if (this.defaultConfig.has(key)) {