From 7a600c6c718ff340b94b985998ec83f0c631e61e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20R=C3=B8svik?= Date: Mon, 25 Oct 2021 16:02:05 +0200 Subject: [PATCH] fix: UU for UsedAccessValidityHeader (#1707) --- .../Ticketing/Ticket/Carnet/UsedAccessValidityHeader.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/screens/Ticketing/Ticket/Carnet/UsedAccessValidityHeader.tsx b/src/screens/Ticketing/Ticket/Carnet/UsedAccessValidityHeader.tsx index d2ec724e1a..593c27f87d 100644 --- a/src/screens/Ticketing/Ticket/Carnet/UsedAccessValidityHeader.tsx +++ b/src/screens/Ticketing/Ticket/Carnet/UsedAccessValidityHeader.tsx @@ -23,6 +23,7 @@ type Props = { function UsedAccessValidityHeader(props: Props) { const styles = useStyles(); const {t, language} = useTranslation(); + const usedAccessValidityText = getUsedAccessValidityText(props, t, language); return ( @@ -34,13 +35,15 @@ function UsedAccessValidityHeader(props: Props) { - {getUsedAccessValidityText(props, t, language)} + {usedAccessValidityText}