show storage
This commit is contained in:
+2
-9
@@ -2,16 +2,9 @@ import { FC } from 'react'
|
||||
import SideBar from './SideBar'
|
||||
import AppRouter from '@/router/AppRouter'
|
||||
import Header from './Header'
|
||||
import Button from '@/components/Button'
|
||||
import { Add } from 'iconsax-react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useSharedStore } from './store/sharedStore'
|
||||
|
||||
const Main: FC = () => {
|
||||
|
||||
const { t } = useTranslation()
|
||||
const { setOpenSidebar, setOpenNewMessage } = useSharedStore()
|
||||
|
||||
return (
|
||||
<div className='p-2 md:p-4 overflow-hidden'>
|
||||
<SideBar />
|
||||
@@ -24,7 +17,7 @@ const Main: FC = () => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className='flex fixed bottom-4 xl:hidden right-0 justify-center mt-10 md:mt-14 px-4'>
|
||||
{/* <div className='flex fixed bottom-4 xl:hidden right-0 justify-center mt-10 md:mt-14 px-4'>
|
||||
<Button
|
||||
className='bg-secondary font-normal text-primary w-fit px-4 md:px-6 text-sm'
|
||||
onClick={() => {
|
||||
@@ -37,7 +30,7 @@ const Main: FC = () => {
|
||||
<div>{t('sidebar.new_message')}</div>
|
||||
</div>
|
||||
</Button>
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user