From abb641111a71ecaa9ae86037cfb293eb509a7c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Fri, 19 Jun 2026 14:27:25 +0200 Subject: [PATCH] Fix rela type issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- .../_components/TrackerPatternPropertiesSection.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/console/src/pages/organizations/cookie-banners/configuration/trackers/_components/TrackerPatternPropertiesSection.tsx b/apps/console/src/pages/organizations/cookie-banners/configuration/trackers/_components/TrackerPatternPropertiesSection.tsx index f342cbf03..c837ddca2 100644 --- a/apps/console/src/pages/organizations/cookie-banners/configuration/trackers/_components/TrackerPatternPropertiesSection.tsx +++ b/apps/console/src/pages/organizations/cookie-banners/configuration/trackers/_components/TrackerPatternPropertiesSection.tsx @@ -12,7 +12,7 @@ // OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -import { formatError, getTrackerSourceBadge, getTrackerTypeBadge, type GraphQLError, humanizeSeconds } from "@probo/helpers"; +import { formatError, getTrackerSourceBadge, getTrackerTypeBadge, humanizeSeconds } from "@probo/helpers"; import { useTranslate } from "@probo/i18n"; import { Badge, Card, IconSquareBehindSquare2, PropertyRow, useToast } from "@probo/ui"; import { graphql, useFragment, useMutation } from "react-relay"; @@ -83,7 +83,7 @@ export function TrackerPatternPropertiesSection({ }: TrackerPatternPropertiesSectionProps) { const { toast } = useToast(); const { __ } = useTranslate(); - const pattern = useFragment( + const pattern = useFragment( trackerPatternPropertiesSectionFragment, trackerPatternKey, ); @@ -110,7 +110,7 @@ export function TrackerPatternPropertiesSection({ toast({ title: __("Success"), description: __("Cookie moved"), variant: "success" }); }, onError(error) { - toast({ title: __("Error"), description: formatError(__("Failed to move cookie"), error as GraphQLError), variant: "error" }); + toast({ title: __("Error"), description: formatError(__("Failed to move cookie"), error), variant: "error" }); }, }); };