Skip to content

Commit

Permalink
Merge pull request #95 from Technoculture/route-patch
Browse files Browse the repository at this point in the history
UPDATE: route patch
  • Loading branch information
PrinceBaghel258025 authored Sep 21, 2024
2 parents 588cc9a + 579cb5b commit 9fab122
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/chatcard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ const Chatcard = ({
setShowLoading(true);
if (!isHome) {
router.replace(`${chat.id}`);
} else {
router.push(`/dashboard/chat/${chat.id}`);
}
}}
>
Expand Down

0 comments on commit 9fab122

Please sign in to comment.