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,
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;
}

1
src/env.d.ts vendored

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

@ -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,

Loading…
Cancel
Save