diff --git a/package.json b/package.json index 9235c249..1349685f 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ }, "devDependencies": { "@eslint/eslintrc": "^3.0.2", + "@graphql-codegen/cli": "^5.0.2", "@graphql-codegen/client-preset": "^4.2.5", "@julr/vite-plugin-validate-env": "^1.0.1", "@parcel/watcher": "^2.4.1", diff --git a/src/views/Home/AlertsView/index.tsx b/src/views/Home/AlertsView/index.tsx index 8d5e8dc9..a02c3084 100644 --- a/src/views/Home/AlertsView/index.tsx +++ b/src/views/Home/AlertsView/index.tsx @@ -15,6 +15,7 @@ import { CountryListQuery, CountryListQueryVariables, } from '#generated/types/graphql'; +import routes from '#routes'; import useAlertFilters from '../useAlertFilters'; import AlertsAside from './AlertsAside'; @@ -78,7 +79,7 @@ function AlertsView(props: Props) { // TODO: Add sources link {strings.mapViewAllSources} diff --git a/src/views/SourcesList/SourceCard/index.tsx b/src/views/SourcesList/SourceCard/index.tsx index b71727cc..bd1f9ea7 100644 --- a/src/views/SourcesList/SourceCard/index.tsx +++ b/src/views/SourcesList/SourceCard/index.tsx @@ -39,7 +39,7 @@ function SourceCard(props: Props) {