From f3e8256c21a42a7d300e1bff4a5e059ca13cbdf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Wed, 22 Nov 2023 12:12:34 +0100 Subject: [PATCH] fixes location type --- .../data-tool/sidebar/widgets/establishment-stages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/containers/data-tool/sidebar/widgets/establishment-stages/index.tsx b/frontend/src/containers/data-tool/sidebar/widgets/establishment-stages/index.tsx index cd222a81..1ed5dbc8 100644 --- a/frontend/src/containers/data-tool/sidebar/widgets/establishment-stages/index.tsx +++ b/frontend/src/containers/data-tool/sidebar/widgets/establishment-stages/index.tsx @@ -6,10 +6,10 @@ import HorizontalBarChart from '@/components/charts/horizontal-bar-chart'; import Widget from '@/components/widget'; import { ESTABLISHMENT_STAGES_CHART_BAR_BACKGROUNDS } from '@/constants/establishment-stages-chart-bar-backgrounds'; import { useGetMpaaEstablishmentStageStats } from '@/types/generated/mpaa-establishment-stage-stat'; -import type { Location } from '@/types/generated/strapi.schemas'; +import type { LocationGroupsDataItemAttributes } from '@/types/generated/strapi.schemas'; type EstablishmentStagesWidgetProps = { - location: Location; + location: LocationGroupsDataItemAttributes; }; const EstablishmentStagesWidget: React.FC = ({ location }) => {