fix: [CAL-3374] Says Number is not Verified, but it is Verified (#14531)
* fix: [CAL-3374] Says Number is not Verified, but it is Verified * clearing error only when verified * type-checks fixed * chore: improvement --------- Co-authored-by: Udit Takkar <[email protected]> Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
88 files changed
+109
-126
No files matched your search
@@ -10,7 +10,7 @@ import { Dialog, DialogClose, DialogContent, DialogFooter, showToast } from "@ca
|
||||
export default function TimezoneChangeDialog() {
|
||||
const { t } = useLocale();
|
||||
const { data: user, isPending } = trpc.viewer.me.useQuery();
|
||||
const utils = trpc.useContext();
|
||||
const utils = trpc.useUtils();
|
||||
const userTz = user?.timeZone;
|
||||
const currentTz = dayjs.tz.guess() || "Europe/London";
|
||||
const formattedCurrentTz = currentTz?.replace("_", " ");
|
||||
|
||||
Reference in new issue
Block a user