Feature/update i18next to v23.x (#391)
* Update i18next to v23.x Update to version 23.2.7 * Use new "ParseKeys" (old: "TFuncKey") type * Remove unnecessary casts to string Not needed anymore with the latest version
This commit is contained in:
@@ -143,7 +143,7 @@ export default function Reader() {
|
||||
[ChapterOffset.NEXT]: 'reader.error.label.unable_to_get_next_chapter_skip_dup',
|
||||
};
|
||||
|
||||
makeToast(t(offsetToTranslationKeyMap[offset]) as string, 'error');
|
||||
makeToast(t(offsetToTranslationKeyMap[offset]), 'error');
|
||||
} finally {
|
||||
setRetrievingNextChapter(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user