Skip to content

Commit

Permalink
TEXTS in BusToolTip has no translations
Browse files Browse the repository at this point in the history
  • Loading branch information
amabelleS committed Dec 10, 2023
1 parent 34ba90f commit a9e5a5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/pages/components/MapLayers/BusToolTip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import './BusToolTip.scss'
import { getSiriRideWithRelated } from 'src/api/siriService'
import { SiriRideWithRelatedPydanticModel } from 'open-bus-stride-client/openapi/models/SiriRideWithRelatedPydanticModel'
import { TEXTS } from 'src/resources/texts'
import { useTranslation } from 'react-i18next'
import { Spin } from 'antd'
import cn from 'classnames'

Expand All @@ -16,6 +17,7 @@ export function BusToolTip({ position, icon }: BusToolTipProps) {
const [siriRide, setSiriRide] = useState<SiriRideWithRelatedPydanticModel | undefined>()
const [isLoading, setIsLoading] = useState(false)
const [showJson, setShowJson] = useState(false)
const { t } = useTranslation()

Check failure on line 20 in src/pages/components/MapLayers/BusToolTip.tsx

View workflow job for this annotation

GitHub Actions / lint

't' is assigned a value but never used

useEffect(() => {
setIsLoading(true)
Expand Down
1 change: 0 additions & 1 deletion src/pages/components/TimeSelector.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { TEXTS } from 'src/resources/texts'
import { useTranslation } from 'react-i18next'
import { TimePicker, renderTimeViewClock } from '@mui/x-date-pickers'
import { DataAndTimeSelectorProps } from './utils/dateAndTime'
Expand Down

0 comments on commit a9e5a5b

Please sign in to comment.