Skip to content

Commit

Permalink
disable chat in drafts
Browse files Browse the repository at this point in the history
  • Loading branch information
feruzm committed Feb 28, 2024
1 parent 1c34c38 commit b6e1dbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/features/chats/components/chat-popup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export const ChatPopUp = () => {
setShow(
!routerLocation.pathname.match("/chats") &&
!routerLocation.pathname.match("/submit") &&
!routerLocation.pathname.match("/draft") &&
!!activeUser
);
}, [routerLocation, activeUser]);
Expand Down

0 comments on commit b6e1dbe

Please sign in to comment.