Fix imports + buttons (#5831)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
pull/5832/head^2
sean-brydon 2022-12-03 14:53:07 +00:00 committed by GitHub
parent 33bc786bb3
commit 0c979d3604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -5,8 +5,8 @@ import dayjs from "@calcom/dayjs";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { trpc } from "@calcom/trpc/react";
import { Dialog, DialogContent, showToast } from ".";
import { DialogClose, DialogFooter } from "./Dialog";
import { showToast } from ".";
import { Dialog, DialogClose, DialogContent, DialogFooter } from "../ui/v2";
export default function TimezoneChangeDialog() {
const { t } = useLocale();
@ -73,8 +73,12 @@ export default function TimezoneChangeDialog() {
<Checkbox description="Always update timezone" />
*/}
<DialogFooter>
<DialogClose onClick={() => onCancel(THREE_MONTHS, true)}>{t("dont_update")}</DialogClose>
<DialogClose onClick={() => updateTimezone()}>{t("update_timezone")}</DialogClose>
<DialogClose onClick={() => onCancel(THREE_MONTHS, true)} color="secondary">
{t("dont_update")}
</DialogClose>
<DialogClose onClick={() => updateTimezone()} color="primary">
{t("update_timezone")}
</DialogClose>
</DialogFooter>
</DialogContent>
</Dialog>