Skip to content

Commit

Permalink
Remove welcome card in main page
Browse files Browse the repository at this point in the history
  • Loading branch information
sashachabin committed Jul 29, 2023
1 parent b686994 commit 9569377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/Map/MainContainer/MapMainContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function MapMainContainer({ zoom = 16, showControls = true }) {
try {
const hasVisited = localStorage.getItem('hasVisited');

if (!hasVisited) {
if (!hasVisited && showControls) {
sidebarService.open({ component: <MapWelcomeMessage /> });
localStorage.setItem('hasVisited', '1');
}
Expand Down

1 comment on commit 9569377

@ekbdev
Copy link

@ekbdev ekbdev commented on 9569377 Jul 29, 2023

Choose a reason for hiding this comment

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

Deploy preview for transport ready!

✅ Preview
https://transport-62ot5e3o2-ekbdev.vercel.app
https://ekbdev-transport-feat-reduce-vehicles-markers-size.vercel.app

Built with commit 9569377.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.