Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed type of options in translate function of i18nProvider
Example with `options: any` gives me the following error: ``` Type '(key: string, options?: any) => string | TFunctionDetailedResult<string, any>' is not assignable to type 'TranslateFunction'. Type 'string | TFunctionDetailedResult<string, any>' is not assignable to type 'string'. Type 'TFunctionDetailedResult<string, any>' is not assignable to type 'string'.ts(2322) ``` I found solution in a following file that fixes the error: https://github.com/Fgruntjes/WFK-Finance/blob/7b6c817b913f89db6197c705d34e260aaf7ed726/frontend/src/i18n-provider/useI18nProvider.ts#L5
- Loading branch information