chore: override stack provider ui literals to contain Google Business instead of Google (#294)

This commit is contained in:
Sabiha Khan 2026-05-15 16:46:07 +05:30 committed by GitHub
parent a82c9fdbc1
commit 53f1959edf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,11 +108,17 @@ function StackAuthContextProvider({ children }: { children: React.ReactNode }) {
);
}
const translationOverrides = {
"Email": "Business Email",
"Sign in with {provider}": "Sign in with {provider} Business",
"Sign up with {provider}": "Sign up with {provider} Business",
};
export function StackProviderWrapper({ children }: StackProviderWrapperProps) {
const stackClientApp = getStackClientApp();
return (
<StackProvider app={stackClientApp}>
<StackProvider app={stackClientApp} translationOverrides={translationOverrides}>
<StackTheme>
<StackAuthContextProvider>
{children}