Fix tailwind issue

feat/readonly-editor
Kamran Ahmed 1 year ago
parent d6ebddcd82
commit 6c7861f208
  1. 4
      src/components/AuthenticationFlow/EmailLoginForm.tsx
  2. 1
      src/env.d.ts
  3. 2
      tailwind.config.cjs

@ -21,7 +21,7 @@ export function EmailLoginForm() {
{ {
email, email,
password, password,
} },
); );
// Log the user in and reload the page // Log the user in and reload the page
@ -39,7 +39,7 @@ export function EmailLoginForm() {
// @todo use proper types // @todo use proper types
if ((error as any).type === 'user_not_verified') { if ((error as any).type === 'user_not_verified') {
window.location.href = `/verification-pending?email=${encodeURIComponent( window.location.href = `/verification-pending?email=${encodeURIComponent(
email email,
)}`; )}`;
return; return;
} }

1
src/env.d.ts vendored

@ -1,4 +1,5 @@
/// <reference types="astro/client" /> /// <reference types="astro/client" />
import 'astro/client';
interface ImportMetaEnv { interface ImportMetaEnv {
GITHUB_SHA: string; GITHUB_SHA: string;

@ -2,7 +2,7 @@
module.exports = { module.exports = {
content: [ content: [
'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue,svg}', './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: { future: {
hoverOnlyWhenSupported: true, hoverOnlyWhenSupported: true,

Loading…
Cancel
Save