Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extraneous-import issues on frontend #165

Open
nina-dk opened this issue Oct 16, 2023 · 0 comments
Open

Remove extraneous-import issues on frontend #165

nina-dk opened this issue Oct 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@nina-dk
Copy link
Collaborator

nina-dk commented Oct 16, 2023

Currently, we're importing some types from @prisma/client and functions from react-router without having those packages listed as dependencies on the front-end package.json file. Adding them causes issues, especially with prisma. I tried it and it no longer recognized User, for example, as an exported member. I think the ideal solution would be to export the required types from the backend and import them from there, or figure out a way to have a shared types.ts. For now, I've left a warning from ESlint

@nina-dk nina-dk added the bug Something isn't working label Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant