diff --git a/components/graphql/Notice.tsx b/components/graphql/Notice.tsx index a87f115aa7..a8a63e1483 100644 --- a/components/graphql/Notice.tsx +++ b/components/graphql/Notice.tsx @@ -15,7 +15,7 @@ export function Notice({ item, variant = 'preview' }: Props) { const { t } = useTranslation('products') const previewTitle = variant === 'preview' - ? t('rest.reference.preview_notice') + ? t('graphql.reference.preview_notice') : t('graphql.reference.deprecation_notice') const noticeStyle = variant === 'preview'