File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/pages/[library]/magazines Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import {
1717} from "config/magazines" ;
1818import Head from "next/head" ;
1919import BreadcrumbBar from "components/BreadcrumbBar" ;
20+ import { useTranslation } from "next-i18next" ;
2021
2122const MagazinesFixedContent : React . FC = ( ) => {
2223 const iframeRef = React . useRef < HTMLIFrameElement | null > ( null ) ;
@@ -119,13 +120,16 @@ const MagazinesFixedContent: React.FC = () => {
119120} ;
120121
121122const 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 >
You can’t perform that action at this time.
0 commit comments