There was an error while loading. Please reload this page.
1 parent f043ddf commit e503739Copy full SHA for e503739
1 file changed
src/theme/Layout/hooks.ts
@@ -80,7 +80,8 @@ export function useGoogleOneTapConfig(): {
80
const loadConfig = async () => {
81
const rawConfig = customFields?.googleOneTapConfig;
82
if (typeof rawConfig !== 'string') {
83
- throw new TypeError('Google One Tap config is not a string');
+ debugLogger.error('Google One Tap config is not a string');
84
+ return;
85
}
86
const parsedConfig = googleOneTapConfigSchema.safeParse(
87
// eslint-disable-next-line no-restricted-syntax
0 commit comments