Skip to content

Commit

Permalink
[UI] Remove unused translation hook from AppVersion component
Browse files Browse the repository at this point in the history
  • Loading branch information
biliesilva committed Dec 10, 2024
1 parent b08e8b0 commit 5267943
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/frontend/components/UI/AppVersion/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next'

const storage = window.localStorage
let lastVersion = storage.getItem('last_version')?.replaceAll('"', '')
Expand All @@ -8,7 +7,6 @@ if (lastVersion === undefined) {
}

export default function AppVersion() {
const { t } = useTranslation()
const [appVersion, setAppVersion] = useState(lastVersion)

useEffect(() => {
Expand Down

0 comments on commit 5267943

Please sign in to comment.