new message

This commit is contained in:
hamid zarghami
2025-06-07 12:03:14 +03:30
parent 6be80bbd81
commit f66f1a768e
10 changed files with 1259 additions and 651 deletions
+2
View File
@@ -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' />