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

Resolve TS errors: TreeMapper #1860

Merged
merged 37 commits into from Sep 27, 2023
Merged

Conversation

prachigarg19
Copy link
Contributor

This PR resolves typescript errors

@vercel
Copy link

vercel bot commented Sep 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
planet-webapp ✅ Ready (Inspect) Visit Preview Sep 27, 2023 5:29am

@prachigarg19 prachigarg19 changed the title Resolve TS errors: TreeMapper/import Resolve TS errors: TreeMapper Sep 7, 2023
@mohitb35
Copy link
Collaborator

@prachigarg19 Please resolve conflicts. Is this otherwise complete, or is anything left?

1. add type for api call
2. resolve `index.tsx`
3. update import in `my-species.tsx`
@prachigarg19
Copy link
Contributor Author

@prachigarg19 Please resolve conflicts. Is this otherwise complete, or is anything left?

It's complete

Copy link
Collaborator

@mohitb35 mohitb35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prachigarg19 Please go through my feedback

src/features/common/types/plantLocation.d.ts Outdated Show resolved Hide resolved
src/features/common/types/plantLocation.d.ts Outdated Show resolved Hide resolved
src/features/user/TreeMapper/index.tsx Outdated Show resolved Hide resolved
src/features/user/TreeMapper/index.tsx Outdated Show resolved Hide resolved
1. Resolve csv error
2. Add comment for csv validation
1. add condition for null plantLocation
2. Update props to remove null in plantLocations
3. Remove treemapper error
src/features/user/TreeMapper/Import/index.tsx
- specify type for api handler using <T> format

src/features/user/TreeMapper/Import/components/SampleTreeCard.tsx
- remove usage of Treemapper namespace
- resolve warnings in rhf components
Copy link
Collaborator

@mohitb35 mohitb35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM now.

@mohitb35 mohitb35 mentioned this pull request Sep 27, 2023
@mohitb35 mohitb35 merged commit 418df20 into develop Sep 27, 2023
5 checks passed
@mohitb35 mohitb35 deleted the feature/treemapper-import-errors branch September 27, 2023 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants