You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type '{ pageNr: number; }' is not assignable to type 'ReactNode'.
Object literal may only specify known properties, and 'pageNr' does not exist in type 'ReactElement<any, string | JSXElementConstructor<any>> | ReactFragment | ReactPortal'.ts(2322)
index.d.ts(1375, 9): The expected type comes from property 'children' which is declared here on type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'
If I keep only one pair of brackets { pageNr } I get the following error
react-i18next:: Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.
I've just upgraded to react v18 but I get an error while doing interpolation using Trans component
If I keep only one pair of brackets
{ pageNr }
I get the following errorreact-i18next:: Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.
https://codesandbox.io/s/brave-bohr-obwf63
I've just posted the same question on stackoverflow
The text was updated successfully, but these errors were encountered: