Skip to content

Commit

Permalink
Update link-qr-modal.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
devkiran committed Nov 22, 2024
1 parent 0d28f8e commit 327be73
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/web/ui/modals/link-qr-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ import {
Hyperlink,
Photo,
} from "@dub/ui/src/icons";
import { API_DOMAIN, cn, linkConstructor } from "@dub/utils";
import { DUB_QR_LOGO } from "@dub/utils/src/constants";
import { API_DOMAIN, cn, DUB_QR_LOGO, linkConstructor } from "@dub/utils";
import { AnimatePresence, motion } from "framer-motion";
import {
Dispatch,
Expand Down Expand Up @@ -112,8 +111,8 @@ function LinkQRModalInner({

const [data, setData] = useState(dataPersisted);

const logo = domainLogo || DUB_QR_LOGO;
const hideLogo = data.hideLogo && plan !== "free";
const logo = domainLogo || DUB_QR_LOGO;

const qrData = useMemo(
() =>
Expand Down

0 comments on commit 327be73

Please sign in to comment.