diff --git a/apps/web/components/Shell.tsx b/apps/web/components/Shell.tsx index 1670320a0f..3e32ced9b4 100644 --- a/apps/web/components/Shell.tsx +++ b/apps/web/components/Shell.tsx @@ -1,18 +1,18 @@ import { SelectorIcon } from "@heroicons/react/outline"; -import { CollectionIcon } from "@heroicons/react/solid"; import { ArrowLeftIcon, CalendarIcon, ClockIcon, CogIcon, + CollectionIcon, ExternalLinkIcon, + LightningBoltIcon, LinkIcon, LogoutIcon, MapIcon, MoonIcon, - ViewGridIcon, QuestionMarkCircleIcon, - LightningBoltIcon, + ViewGridIcon, } from "@heroicons/react/solid"; import { UserPlan } from "@prisma/client"; import { SessionContextValue, signOut, useSession } from "next-auth/react"; diff --git a/apps/web/components/booking/CancelBooking.tsx b/apps/web/components/booking/CancelBooking.tsx index 1b26e67ca1..6e4cd6d99f 100644 --- a/apps/web/components/booking/CancelBooking.tsx +++ b/apps/web/components/booking/CancelBooking.tsx @@ -32,90 +32,86 @@ export default function CancelBooking(props: Props) { const [loading, setLoading] = useState(false); const telemetry = useTelemetry(); const [error, setError] = useState(booking ? null : t("booking_already_cancelled")); - const { isReady, Theme } = useTheme(props.theme); + useTheme(props.theme); - if (isReady) { - return ( - <> - - {error && ( -
-
- -
-
- -
+ return ( + <> + {error && ( +
+
+
- )} - {!error && ( -
- -