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

Fix broken React component import: RegionFilter #99

Open
kachkaev opened this issue Feb 20, 2022 · 1 comment
Open

Fix broken React component import: RegionFilter #99

kachkaev opened this issue Feb 20, 2022 · 1 comment

Comments

@kachkaev
Copy link
Collaborator

From Netlify build:

10:01:08 PM: warn  - Compiled with warnings
10:01:08 PM: ./src/components/inherited-map/components/filter-panel/filter-panel-normal.js
10:01:08 PM: Attempted import error: 'RegionFilter' is not exported from './region-filter' (imported as 'RegionFilter').
10:01:08 PM: Import trace for requested module:
10:01:08 PM: ./src/components/inherited-map/components/filter-panel/filter-panel.js
10:01:08 PM: ./src/components/inherited-map/components/filter-panel/index.ts
10:01:08 PM: ./src/components/inherited-map/inherited-map.tsx
10:01:08 PM: ./src/components/inherited-map/index.ts
10:01:08 PM: ./src/pages/iframes/map.tsx

This was not covered by linting because we use .js instead of .ts here. Prod should not be affected because we don't seem to filter by region. Might be a good idea to convert all inherited files to ts.

@kachkaev kachkaev changed the title Fix broken React component import: Fix broken React component import: RegionFilter Feb 20, 2022
@alexander-mart
Copy link
Contributor

Задача в Кликапе:
https://app.clickup.com/t/2phyptz

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

No branches or pull requests

2 participants