mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
simplify i18n
This commit is contained in:
@@ -36,7 +36,7 @@ export default function RemoveAll() {
|
||||
const closeDialog = () => setOpen(false)
|
||||
const openDialog = () => setOpen(true)
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const { t, i18n } = useTranslation('translations')
|
||||
const { t } = useTranslation()
|
||||
return (
|
||||
<>
|
||||
<ListItem button key={t('RemoveAll')} onClick={openDialog}>
|
||||
|
||||
Reference in New Issue
Block a user