From 68b0c4b8b0ec1f0742b67ab7442b5afd04279639 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Thu, 5 Aug 2021 20:49:05 +0200 Subject: [PATCH] removed unused imports --- pages/[user].tsx | 35 ++++++++++++++++++++--------------- pages/event-types/[type].tsx | 3 +-- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/pages/[user].tsx b/pages/[user].tsx index d49d2aacea..8be933b0eb 100644 --- a/pages/[user].tsx +++ b/pages/[user].tsx @@ -6,6 +6,7 @@ import Avatar from "../components/Avatar"; import Theme from "@components/Theme"; import { ClockIcon, InformationCircleIcon, UserIcon } from "@heroicons/react/solid"; import React from "react"; +import { ArrowRightIcon } from "@heroicons/react/outline"; export default function User(props): User { const { isReady } = Theme(props.user.theme); @@ -13,25 +14,29 @@ export default function User(props): User { const eventTypes = props.eventTypes.map((type) => (
+ className="group relative dark:bg-neutral-800 dark:border-neutral-700 dark:hover:border-neutral-600 bg-white hover:bg-gray-50 border border-neutral-200 hover:border-black rounded-sm"> +

{type.title}

-
-
-
-
-
- +
+
+
+
+
@@ -46,7 +51,7 @@ export default function User(props): User { -
+

@@ -54,7 +59,7 @@ export default function User(props): User {

{props.user.bio}

-
{eventTypes}
+
{eventTypes}
{eventTypes.length == 0 && (
diff --git a/pages/event-types/[type].tsx b/pages/event-types/[type].tsx index 42678984e1..5440507d36 100644 --- a/pages/event-types/[type].tsx +++ b/pages/event-types/[type].tsx @@ -16,7 +16,6 @@ import { EventTypeCustomInput, EventTypeCustomInputType } from "@lib/eventTypeIn import { LocationMarkerIcon, LinkIcon, - PencilIcon, PlusIcon, DocumentIcon, ChevronRightIcon, @@ -265,7 +264,7 @@ export default function EventTypePage({ }, }); - router.push("/availability"); + router.push("/bookings"); } const openLocationModal = (type: LocationType) => {