new message
This commit is contained in:
@@ -14,6 +14,7 @@ const SideBar: FC = () => {
|
||||
const { t } = useTranslation()
|
||||
const { openSidebar, setOpenSidebar } = useSharedStore()
|
||||
const location = useLocation()
|
||||
const { setOpenNewMessage } = useSharedStore()
|
||||
|
||||
const isActive = (path: string) => location.pathname === path
|
||||
|
||||
@@ -37,6 +38,7 @@ const SideBar: FC = () => {
|
||||
<div className='flex justify-center mt-14'>
|
||||
<Button
|
||||
className='bg-secondary font-normal text-primary w-fit px-6'
|
||||
onClick={() => setOpenNewMessage(true)}
|
||||
>
|
||||
<div className='flex gap-2'>
|
||||
<Add size={20} color='black' />
|
||||
|
||||
Reference in New Issue
Block a user