diff --git a/src/components/AuthenticationFlow/EmailLoginForm.tsx b/src/components/AuthenticationFlow/EmailLoginForm.tsx index aefcf8ff5..3ba9c7c13 100644 --- a/src/components/AuthenticationFlow/EmailLoginForm.tsx +++ b/src/components/AuthenticationFlow/EmailLoginForm.tsx @@ -21,7 +21,7 @@ export function EmailLoginForm() { { email, password, - } + }, ); // Log the user in and reload the page @@ -39,7 +39,7 @@ export function EmailLoginForm() { // @todo use proper types if ((error as any).type === 'user_not_verified') { window.location.href = `/verification-pending?email=${encodeURIComponent( - email + email, )}`; return; } diff --git a/src/env.d.ts b/src/env.d.ts index 2fa17f5c0..2cc9d6465 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -1,4 +1,5 @@ /// +import 'astro/client'; interface ImportMetaEnv { GITHUB_SHA: string; diff --git a/tailwind.config.cjs b/tailwind.config.cjs index 6bdd4139d..2e78d96a0 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -2,7 +2,7 @@ module.exports = { content: [ './src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue,svg}', - './node_modules/@roadmapsh/web-draw/src/editor/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue,svg}' + './editor/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue,svg}' ], future: { hoverOnlyWhenSupported: true,