diff --git a/src/components/landing/pages/history/history.tsx b/src/components/landing/pages/history/history.tsx index 1158b5277..446b9fac3 100644 --- a/src/components/landing/pages/history/history.tsx +++ b/src/components/landing/pages/history/history.tsx @@ -3,6 +3,7 @@ import {HistoryContent} from './history-content/history-content'; import {HistoryToolbar, HistoryToolbarState, initState as toolbarInitState} from './history-toolbar/history-toolbar'; import {loadHistoryFromLocalStore, sortAndFilterEntries} from "../../../../utils/historyUtils"; import {Row} from 'react-bootstrap'; +import {Trans, useTranslation} from "react-i18next"; export interface HistoryEntry { id: string, @@ -15,6 +16,7 @@ export interface HistoryEntry { export type pinClick = (entryId: string) => void; export const History: React.FC = () => { + useTranslation(); const [historyEntries, setHistoryEntries] = useState([]) const [viewState, setViewState] = useState(toolbarInitState) @@ -53,7 +55,7 @@ export const History: React.FC = () => { return ( -

History

+

@@ -62,4 +64,4 @@ export const History: React.FC = () => { onPinClick={pinClick}/>
) -} \ No newline at end of file +}