mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
fix(logs): correct CompressionLogTab i18n namespace settings->logs (B/F5)
The component was calling useTranslations("settings") which would cause
key misses once the settings namespace is reorganized. Keys used
(loading, compressionLogTitle, compressionLogEmpty, tokens) are now
sourced from the canonical "logs" namespace.
This commit is contained in:
@@ -24,7 +24,7 @@ interface LogEntry {
|
||||
}
|
||||
|
||||
export default function CompressionLogTab() {
|
||||
const t = useTranslations("settings");
|
||||
const t = useTranslations("logs");
|
||||
const [logs, setLogs] = useState<LogEntry[]>([]);
|
||||
const [loading, setLoading] = useState(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user