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

Cleanup templates & pin deck.gl 8.4.10 #212

Merged
merged 4 commits into from
Mar 11, 2021
Merged

Conversation

VictorVelarde
Copy link
Contributor

@VictorVelarde VictorVelarde commented Mar 11, 2021

Small cleanup on both templates

  • remove duplicated addLayer in stores
  • pin deck.gl 8.4.10
  • clean skeleton app:
    • remove isoLine code
    • remove geocoderWidget & layer
    • remove Login button from header

@vercel
Copy link

vercel bot commented Mar 11, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/carto-frontend/cra-template-carto/4yvGoYt2iSQVJ7j7szwrTH9ncUXD
✅ Preview: https://cra-template-carto-git-cleanup-templates-carto-frontend.vercel.app

if (!user) {
return <UserMenuLogin />;
return null;
Copy link
Contributor

Choose a reason for hiding this comment

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

return; is fine?

Copy link
Contributor Author

@VictorVelarde VictorVelarde Mar 11, 2021

Choose a reason for hiding this comment

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

@AdriSolid I don't have a preference. Is there any official recommendation on that?

Copy link
Contributor

Choose a reason for hiding this comment

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

I saw that we return null in several components, for me we can leave it like this 👍

Copy link
Contributor

@AdriSolid AdriSolid left a comment

Choose a reason for hiding this comment

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

:D

Copy link
Contributor

@AdriSolid AdriSolid left a comment

Choose a reason for hiding this comment

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

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants