mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-10 08:05:22 +02:00
chore: override stack provider ui literals to contain Google Business instead of Google
This commit is contained in:
parent
ea13492a89
commit
ebf8c942ad
1 changed files with 7 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue