Display countries on trust center

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-09-23 14:34:35 +02:00
parent e6fb000fc9
commit 45f63ff681
3 changed files with 18 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
import { useQuery, useMutation } from "@tanstack/react-query";
import { GraphQLError } from "graphql";
import { buildEndpoint } from "/providers/RelayProviders";
import { type CountryCode } from "@probo/helpers";
export interface TrustCenterDocument {
id: string;
@@ -25,6 +26,7 @@ export interface TrustCenterVendor {
category: string;
privacyPolicyUrl?: string | null;
websiteUrl?: string | null;
countries: CountryCode[];
}
interface TrustCenterQueryData {