fix: route may not be present

This commit is contained in:
Shivam Mishra
2025-05-08 19:47:28 +05:30
parent bb6f7b9fcd
commit df20a59a6c

View File

@@ -426,7 +426,7 @@ const avatarTooltip = computed(() => {
});
const setupHighlightTimer = () => {
if (Number(route.query.messageId) !== Number(props.id)) {
if (Number(route?.query?.messageId) !== Number(props.id)) {
return;
}