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" }); }, }); };