diff --git a/packages/console/src/pages/Webhooks/CreateFormModal/CreateForm.tsx b/packages/console/src/pages/Webhooks/CreateFormModal/CreateForm.tsx
index 8c252936b..0a8f8923d 100644
--- a/packages/console/src/pages/Webhooks/CreateFormModal/CreateForm.tsx
+++ b/packages/console/src/pages/Webhooks/CreateFormModal/CreateForm.tsx
@@ -26,8 +26,11 @@ type CreateHookPayload = Pick
& {
};
function CreateForm({ onClose }: Props) {
- const { currentSku, currentSubscriptionQuota, currentSubscriptionUsage } =
- useContext(SubscriptionDataContext);
+ const {
+ currentSubscription: { planId, isEnterprisePlan },
+ currentSubscriptionQuota,
+ currentSubscriptionUsage,
+ } = useContext(SubscriptionDataContext);
const { t } = useTranslation(undefined, { keyPrefix: 'admin_console' });
const shouldBlockCreation = hasReachedSubscriptionQuotaLimit({
@@ -70,7 +73,7 @@ function CreateForm({ onClose }: Props) {
,
- planName: ,
+ planName: ,
}}
>
{t('upsell.paywall.hooks', {