diff --git a/components/booking/pages/BookingPage.tsx b/components/booking/pages/BookingPage.tsx index 545eeb378a..811ac9344f 100644 --- a/components/booking/pages/BookingPage.tsx +++ b/components/booking/pages/BookingPage.tsx @@ -444,7 +444,6 @@ const BookingPage = (props: BookingPageProps) => { />
- {/* TODO: add styling props to diff --git a/components/pages/eventtypes/CustomInputTypeForm.tsx b/components/pages/eventtypes/CustomInputTypeForm.tsx index ca25567cfb..3704384965 100644 --- a/components/pages/eventtypes/CustomInputTypeForm.tsx +++ b/components/pages/eventtypes/CustomInputTypeForm.tsx @@ -5,6 +5,8 @@ import Select, { OptionTypeBase } from "react-select"; import { useLocale } from "@lib/hooks/useLocale"; +import Button from "@components/ui/Button"; + interface Props { onSubmit: SubmitHandler; onCancel: () => void; @@ -82,7 +84,7 @@ const CustomInputTypeForm: FC = (props) => { @@ -114,12 +116,10 @@ const CustomInputTypeForm: FC = (props) => { {...register("id", { valueAsNumber: true })} />
- - + +
); diff --git a/components/security/ChangePasswordSection.tsx b/components/security/ChangePasswordSection.tsx index 4d59a6af17..49b3867ada 100644 --- a/components/security/ChangePasswordSection.tsx +++ b/components/security/ChangePasswordSection.tsx @@ -4,6 +4,8 @@ import { ErrorCode } from "@lib/auth"; import { useLocale } from "@lib/hooks/useLocale"; import showToast from "@lib/notification"; +import Button from "@components/ui/Button"; + const ChangePasswordSection = () => { const [oldPassword, setOldPassword] = useState(""); const [newPassword, setNewPassword] = useState(""); @@ -97,11 +99,7 @@ const ChangePasswordSection = () => {
{errorMessage &&

{errorMessage}

}
- +

diff --git a/components/team/EditTeam.tsx b/components/team/EditTeam.tsx index 709208d4cb..0cbc116c6a 100644 --- a/components/team/EditTeam.tsx +++ b/components/team/EditTeam.tsx @@ -141,7 +141,7 @@ export default function EditTeam(props: { team: Team | undefined | null; onClose
-

{t("profile")}

+

{t("profile")}

{hasErrors && }
@@ -213,7 +213,7 @@ export default function EditTeam(props: { team: Team | undefined | null; onClose
-

{t("members")}

+

{t("members")}

))} - +
{editSchedule >= 0 && ( diff --git a/components/ui/modal/SetTimesModal.tsx b/components/ui/modal/SetTimesModal.tsx index b6c662afd1..599a3a9c20 100644 --- a/components/ui/modal/SetTimesModal.tsx +++ b/components/ui/modal/SetTimesModal.tsx @@ -3,6 +3,8 @@ import { useRef } from "react"; import { useLocale } from "@lib/hooks/useLocale"; +import Button from "@components/ui/Button"; + export default function SetTimesModal(props) { const { t } = useLocale(); const [startHours, startMinutes] = [Math.floor(props.startTime / 60), props.startTime % 60]; @@ -31,26 +33,26 @@ export default function SetTimesModal(props) { return (
-
+
-
-
-
- +
+
+
+
-
@@ -59,7 +61,7 @@ export default function SetTimesModal(props) {
- +
- : + :
- +
- : + :
- - + +
diff --git a/pages/availability/index.tsx b/pages/availability/index.tsx index 0d7817145b..de8cdf0177 100644 --- a/pages/availability/index.tsx +++ b/pages/availability/index.tsx @@ -1,4 +1,3 @@ -import Link from "next/link"; import { useForm } from "react-hook-form"; import { QueryCell } from "@lib/QueryCell"; @@ -68,9 +67,9 @@ export function AvailabilityForm(props: inferQueryOutput<"viewer.availability">)

{t("troubleshoot_availability")}

- - {t("launch_troubleshooter")} - +
diff --git a/pages/event-types/[type].tsx b/pages/event-types/[type].tsx index efbee140c2..9b4903c741 100644 --- a/pages/event-types/[type].tsx +++ b/pages/event-types/[type].tsx @@ -1140,15 +1140,14 @@ const EventTypePage = (props: inferSSRProps) => { />
- - + +
diff --git a/pages/settings/profile.tsx b/pages/settings/profile.tsx index 976a564021..5996657fdd 100644 --- a/pages/settings/profile.tsx +++ b/pages/settings/profile.tsx @@ -81,9 +81,7 @@ function HideBrandingInput(props: { hideBrandingRef: RefObject
- diff --git a/pages/settings/teams.tsx b/pages/settings/teams.tsx index dffe907d62..6396340a75 100644 --- a/pages/settings/teams.tsx +++ b/pages/settings/teams.tsx @@ -98,10 +98,7 @@ export default function Teams() { )}
- @@ -114,7 +111,7 @@ export default function Teams() { {!!invites.length && (
-

Open Invitations

+

Open Invitations

    {invites.map((team: Team) => (
- - + +