Merge branch 'main' into fix/allow-self-event-editing

This commit is contained in:
kodiakhq[bot] 2022-05-17 16:54:50 +00:00 committed by GitHub
commit 5acf986770
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,7 +200,8 @@ export default function Success(props: SuccessProps) {
});
setDate(date.tz(localStorage.getItem("timeOption.preferredTimeZone") || dayjs.tz.guess()));
setIs24h(!!localStorage.getItem("timeOption.is24hClock"));
}, [date, eventType, needsConfirmation]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [eventType, needsConfirmation]);
function eventLink(): string {
const optional: { location?: string } = {};