Skip to content

Commit

Permalink
Set i18n prop just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
arielj committed Dec 14, 2024
1 parent b237e73 commit b4e6211
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function SideloadDialog({
children,
appName
}: Props) {
const { t } = useTranslation('gamepage')
const { t, i18n } = useTranslation('gamepage')
const [title, setTitle] = useState<string>(t('sideload.field.title', 'Title'))
const [selectedExe, setSelectedExe] = useState('')
const [gameUrl, setGameUrl] = useState('')
Expand Down Expand Up @@ -298,7 +298,7 @@ export default function SideloadDialog({
)}
>
<div className="sideloadImportHint">
<Trans key="sideload.import-hint.content">
<Trans i18n={i18n} key="sideload.import-hint.content">
Do NOT use this feature for that.
<br />
Instead, <NavLink to={'/login'}>log into</NavLink> the store,
Expand Down

0 comments on commit b4e6211

Please sign in to comment.