fixing redirects

This commit is contained in:
zmeyer44 2023-11-07 11:31:29 -05:00
parent d5dc195af2
commit 885b8a85c2

View File

@ -27,6 +27,10 @@ export default function ModalLayout(props: {
{props[30311]}
</div>
);
} else if (kind === 31923 || kind === 31922) {
return redirect(`/event/${key}`);
} else if (kind === 31924) {
return redirect(`/calendar/${key}`);
}
} else if (type === "note") {
return (