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
As above children, I want to translate place holder based on current language.
I am using const { t: translate } = useTranslation();
How can I use translate('inputPlaceholder') instead of 'Search Places ...'
As above children, I want to translate place holder based on current language.
I am using const { t: translate } = useTranslation();
How can I use translate('inputPlaceholder') instead of 'Search Places ...'
Error I got: Uncaught TypeError: translate is not a function
Because translate is not available in children scope.
Any help? Thanks.
The text was updated successfully, but these errors were encountered: