fix: open recent contact emails at "/" instead of 404ing on "/mail"
This commit is contained in:
@@ -172,7 +172,7 @@ export function ContactActivity({ contact }: ContactActivityProps) {
|
|||||||
|
|
||||||
const handleOpenEmail = (email: Email) => {
|
const handleOpenEmail = (email: Email) => {
|
||||||
selectEmail(email);
|
selectEmail(email);
|
||||||
router.push("/mail");
|
router.push("/");
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleOpenEvent = (event: CalendarEvent) => {
|
const handleOpenEvent = (event: CalendarEvent) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user