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
Is your feature request related to a problem? Please describe.
Currently i have to use code like this to check if translations exists {__("small-text") !==${translations}.small-text&& ( <div className="mb-6 text-center font-bold"> {__("small-text")} </div> )}
and this throw an error MISSING_MESSAGES and i have to pass onError function to provider.
Can we add some function e.g: t.has()?
Describe the solution you'd like
add function to check if translations exists
t.has();
Describe alternatives you've considered
add function to check if translations exists
t.has();
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently i have to use code like this to check if translations exists
{__("small-text") !==
${translations}.small-text&& ( <div className="mb-6 text-center font-bold"> {__("small-text")} </div> )}
and this throw an error MISSING_MESSAGES and i have to pass onError function to provider.
Can we add some function e.g: t.has()?
Describe the solution you'd like
add function to check if translations exists
t.has();
Describe alternatives you've considered
add function to check if translations exists
t.has();
The text was updated successfully, but these errors were encountered: