Skip to content

Commit 8531374

Browse files
committed
Forbid automatic domain configuration on free plan
1 parent 825b94d commit 8531374

File tree

1 file changed

+3
-9
lines changed
  • apps/builder/app/builder/features/topbar

1 file changed

+3
-9
lines changed

apps/builder/app/builder/features/topbar/entri.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
import * as entri from "entrijs";
22
import { useEffect, useState } from "react";
3-
import {
4-
globalCss,
5-
Button,
6-
Text,
7-
ProBadge,
8-
toast,
9-
} from "@webstudio-is/design-system";
10-
import { trpcClient } from "~/shared/trpc/trpc-client";
113
import { useStore } from "@nanostores/react";
4+
import { globalCss, Button, Text, toast } from "@webstudio-is/design-system";
5+
import { trpcClient } from "~/shared/trpc/trpc-client";
126
import { $userPlanFeatures } from "~/shared/nano-states";
137
import { extractCname } from "./cname";
148

@@ -112,7 +106,7 @@ export const Entri = ({ domain, dnsRecords, onClose }: EntriProps) => {
112106
type="button"
113107
onClick={() => {
114108
// @todo temporary for testing
115-
if (hasProPlan || true) {
109+
if (hasProPlan) {
116110
showDialog();
117111
} else {
118112
toast.error(

0 commit comments

Comments
 (0)