Skip to content

Commit 6b414e1

Browse files
committed
fix(layout): update translation key for TitleBar in RootLayout component
1 parent b92a3b8 commit 6b414e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web-app/src/components/layouts/RootLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { TitleBar } from '../TitleBar'
55
import { useTranslation } from '@/i18n'
66

77
export function RootLayout() {
8-
const { t } = useTranslation()
8+
const { t } = useTranslation('common')
99
return (
1010
<AppProviders>
1111
<main className="h-screen flex flex-col relative glass-background select-none bg-background">
12-
{IS_LINUX && <TitleBar title={t('common:appTitle')} />}
12+
{IS_LINUX && <TitleBar title={t('appTitle')} />}
1313

1414
{IS_MACOS && (
1515
<div className="absolute w-full h-10 z-10" data-tauri-drag-region />

0 commit comments

Comments
 (0)