Skip to content

Commit 735a6d8

Browse files
prettier
1 parent 7b1d46a commit 735a6d8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/pages/[library]/magazines/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
} from "config/magazines";
1818
import Head from "next/head";
1919
import BreadcrumbBar from "components/BreadcrumbBar";
20+
import { useTranslation } from "next-i18next";
2021

2122
const MagazinesFixedContent: React.FC = () => {
2223
const iframeRef = React.useRef<HTMLIFrameElement | null>(null);
@@ -119,13 +120,16 @@ const MagazinesFixedContent: React.FC = () => {
119120
};
120121

121122
const MagazinesFixedPage: NextPage<AppProps> = ({ library, error }) => {
123+
const { t } = useTranslation("common");
122124
return (
123125
<LayoutPage library={library} error={error} hideFooter>
124126
<>
125127
<Head>
126128
<title>{t("title_magazines", "Magazines - E-library")}</title>
127129
</Head>
128-
<BreadcrumbBar currentLocation={t("breadcrumb_magazines", "Magazines")} />
130+
<BreadcrumbBar
131+
currentLocation={t("breadcrumb_magazines", "Magazines")}
132+
/>
129133
<MagazinesFixedContent />
130134
</>
131135
</LayoutPage>

0 commit comments

Comments
 (0)