Skip to content

Commit

Permalink
hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Renatavl committed Nov 19, 2024
1 parent e7550c4 commit 7ebacbc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/containers/about-chat-sidebar/AboutChatSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,10 @@ const AboutChatSidebar: FC<AboutChatSidebarProps> = ({
const { _id, firstName, lastName, photo, professionalSummary } = user
const { path: pathToProfile } = authRoutes.userProfile

const navigateToUserProfile = () => {
const navigateToUserProfile = () =>
navigate(createUrlPath(pathToProfile, _id, { role }))
}

const onSeeAllClick = (text: SidebarContentEnum) => {
setTitleText(text)
}
const onSeeAllClick = (text: SidebarContentEnum) => setTitleText(text)

const goBackBtn = titleText !== About && (
<IconButton onClick={() => setTitleText(About)} sx={styles.goBackBtn}>
Expand Down

0 comments on commit 7ebacbc

Please sign in to comment.