⬆️ Update dependency next-i18next to v13 (#956)

* ⬆️ Update dependency next-i18next to v13

* 🚨 Fix compile errors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Manuel <manuel.ruwe@bluewin.ch>
This commit is contained in:
renovate[bot]
2023-06-09 23:14:49 +02:00
committed by GitHub
parent 7da3ba5981
commit 61612b2bf7
10 changed files with 251 additions and 241 deletions

View File

@@ -43,7 +43,7 @@ export const SearchEngineSelector = ({ searchEngine }: Props) => {
<SegmentedControl
fullWidth
mb="sm"
title={t('title')}
title={t('title') ?? undefined}
value={engine}
onChange={onEngineChange}
data={searchEngineOptions}
@@ -60,9 +60,9 @@ export const SearchEngineSelector = ({ searchEngine }: Props) => {
<Space mb="md" />
<TextInput
label={t('customEngine.label')}
name={t('configurationName')}
name={t('configurationName') ?? undefined}
description={t('tips.placeholderTip')}
placeholder={t('customEngine.placeholder')}
placeholder={t('customEngine.placeholder') ?? undefined}
value={searchUrl}
onChange={onSearchUrlChange}
/>