I was trying to see UI from tanya_fe branch but I could not run it properly.
Hope this could be fixed
inhwa.son@Inhwas-MacBook-Air web % yarn build
yarn run v1.22.19
$ next build
▲ Next.js 14.1.0
Creating an optimized production build ...
✓ Compiled successfully
./src/components/dashboard.tsx
30:11 Warning: Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
Linting and checking validity of types ..Failed to compile.
./src/app/page.tsx:38:11
Type error: Type 'string' is not assignable to type '"signup" | "login"'.
36 | <AuthModal
37 | onClose={() => setIsModalOpen(false)}
> 38 | mode={authMode}
| ^
39 | onToggleMode={() => setAuthMode(authMode === "signup"? "login" : "signup")}
40 | />}
41 | <Dashboard />
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I was trying to see UI from
tanya_fe
branch but I could not run it properly. Hope this could be fixed