Skip to content

Commit

Permalink
refactor: Fixing header text studio root (#13703)
Browse files Browse the repository at this point in the history
  • Loading branch information
wrt95 authored Oct 7, 2024
1 parent 7b6b262 commit c097386
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/studio-root/pages/PageLayout/PageLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
import React from 'react';
import { Outlet } from 'react-router-dom';
import { StudioPageHeader } from '@studio/components/';
import { useTranslation } from 'react-i18next';

export const PageLayout = () => {
const { t } = useTranslation();

return (
<>
<StudioPageHeader>
<StudioPageHeader.Main>
<StudioPageHeader.Left title='Tilbake' showTitle={false} />
<StudioPageHeader.Left title={t('general.back')} showTitle={false} />
</StudioPageHeader.Main>
</StudioPageHeader>
<Outlet />
Expand Down

0 comments on commit c097386

Please sign in to comment.