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
I'd like to let my defaultValue return an async function like this:
defaultValue: async(lng,ns,key){if(lng==='en'){// Return key as the default value for English languagereturnkey;}consttranslated=awaitgetTranslatedValueForKey(key,lng);returntranslated;},
The text was updated successfully, but these errors were encountered:
Version
I'd like to let my defaultValue return an async function like this:
The text was updated successfully, but these errors were encountered: