Closed nathandao closed 4 years ago
The PR moved HEADERHEIGHT, NAVHEIGHT and CITYSELECTHEIGHT to a part inside styled-component's theme.
theme was moved to constants.ts file to avoid circular import when App.tsx imports MapView and MapView imports theme from App.tsx
theme
constants.ts
App.tsx
MapView
The PR moved HEADERHEIGHT, NAVHEIGHT and CITYSELECTHEIGHT to a part inside styled-component's theme.
theme
was moved toconstants.ts
file to avoid circular import whenApp.tsx
importsMapView
andMapView
importstheme
fromApp.tsx