diff --git a/apps/web/components/apps/make/Setup.tsx b/apps/web/components/apps/make/Setup.tsx index 105339b2d1700b..f51599ce3d5d5b 100644 --- a/apps/web/components/apps/make/Setup.tsx +++ b/apps/web/components/apps/make/Setup.tsx @@ -1,5 +1,4 @@ import type { InferGetServerSidePropsType } from "next"; -import Link from "next/link"; import { useState } from "react"; import { Toaster } from "sonner"; @@ -71,9 +70,10 @@ export default function MakeSetup({ inviteLink }: InferGetServerSidePropsType
+ {/* eslint-disable @next/next/no-img-element */} Make Logo
-
+
{t("setting_up_make")}
<> @@ -134,9 +134,9 @@ export default function MakeSetup({ inviteLink }: InferGetServerSidePropsType{t("make_setup_instructions_5")}
  • {t("make_setup_instructions_6")}
  • - - - +
    diff --git a/apps/web/modules/auth/forgot-password/[id]/forgot-password-single-view.tsx b/apps/web/modules/auth/forgot-password/[id]/forgot-password-single-view.tsx index acd1397da71da9..66056bf1f4220a 100644 --- a/apps/web/modules/auth/forgot-password/[id]/forgot-password-single-view.tsx +++ b/apps/web/modules/auth/forgot-password/[id]/forgot-password-single-view.tsx @@ -45,12 +45,10 @@ function Expired() {

    {t("request_is_expired")}

    {t("request_is_expired_instructions")}

    - - + + {t("try_again")} diff --git a/apps/web/modules/bookings/views/bookings-single-view.tsx b/apps/web/modules/bookings/views/bookings-single-view.tsx index 563c2ae56f656c..7fb2078b241801 100644 --- a/apps/web/modules/bookings/views/bookings-single-view.tsx +++ b/apps/web/modules/bookings/views/bookings-single-view.tsx @@ -806,15 +806,14 @@ export default function Success(props: PageProps) { {/* Login button but redirect to here */} - - - {t("login")} - - + + {t("login")} + @@ -837,17 +836,16 @@ export default function Success(props: PageProps) { (!isBookingInPast || eventType.allowReschedulingPastBookings) && canReschedule && ( - - - {t("reschedule")} - - + + {t("reschedule")} + {!isBookingInPast && canCancel && ( {t("or_lowercase")} )} diff --git a/packages/app-store/_components/AppNotInstalledMessage.tsx b/packages/app-store/_components/AppNotInstalledMessage.tsx index 5a9ce94d3b1a99..b2d293c7f2f73f 100644 --- a/packages/app-store/_components/AppNotInstalledMessage.tsx +++ b/packages/app-store/_components/AppNotInstalledMessage.tsx @@ -1,5 +1,3 @@ -import Link from "next/link"; - import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Button } from "@calcom/ui/components/button"; import { Icon } from "@calcom/ui/components/icon"; @@ -17,12 +15,10 @@ export default function AppNotInstalledMessage({ appName }: { appName: string })

    {t("visit_our_app_store")}

    - - - +
    diff --git a/packages/ui/components/button/Button.tsx b/packages/ui/components/button/Button.tsx index fcd87c1f9dcc06..f5810ce570cc48 100644 --- a/packages/ui/components/button/Button.tsx +++ b/packages/ui/components/button/Button.tsx @@ -239,25 +239,17 @@ export const Button = forwardRef`, otherwise it's a ` ); }); diff --git a/packages/ui/components/dropdown/Dropdown.tsx b/packages/ui/components/dropdown/Dropdown.tsx index 8c6f474d7920a5..b39fb1c5bcd80b 100644 --- a/packages/ui/components/dropdown/Dropdown.tsx +++ b/packages/ui/components/dropdown/Dropdown.tsx @@ -143,19 +143,14 @@ type ButtonOrLinkProps = ComponentProps<"button"> & ComponentProps<"a">; export function ButtonOrLink({ href, ...props }: ButtonOrLinkProps) { const isLink = typeof href !== "undefined"; - const ButtonOrLink = isLink ? "a" : "button"; - - const content = ; if (isLink) { - return ( - - {content} - - ); + // Strip ref from props when using Link (Link manages its own anchor element) + const { ref: _ref, ...linkProps } = props; + return ; } - return content; + return