remove logs

This commit is contained in:
hamid zarghami
2025-07-15 16:14:34 +03:30
parent 019e96cb9d
commit 098d39284b
20 changed files with 13 additions and 155 deletions
+2 -10
View File
@@ -1,8 +1,8 @@
import { FC, useEffect, useState } from 'react'
import { FC } from 'react'
import Input from '../components/Input'
import { Element3, HambergerMenu, Wallet } from 'iconsax-react'
import { useTranslation } from 'react-i18next'
import { Link, useLocation } from 'react-router-dom'
import { Link } from 'react-router-dom'
import { Paths } from '@/utils/Paths'
// import Notifications from '../pages/notification/Notification'
import { useSharedStore } from './store/sharedStore'
@@ -13,19 +13,11 @@ import { useSharedStore } from './store/sharedStore'
const Header: FC = () => {
const location = useLocation();
const [popoverKey, setPopoverKey] = useState(0);
const { t } = useTranslation('global')
const { setOpenSidebar, openSidebar } = useSharedStore()
// const { data } = useGetProfile()
// const getWalletBalance = useGetWalletBalance()
console.log(popoverKey);
useEffect(() => {
setPopoverKey((prevKey) => prevKey + 1);
}, [location.pathname]);
return (
<div className='fixed z-10 right-2 left-2 md:right-4 md:left-4 xl:right-[285px] top-2 md:top-4 xl:h-16 h-12 flex items-center px-3 md:px-6 bg-white justify-between rounded-[20px] md:rounded-[32px] xl:w-[calc(100%-305px)]'>
+1 -1
View File
@@ -44,7 +44,7 @@ const BuySpace: FC = () => {
</div>
<div className='mt-4 flex gap-4 flex-wrap'>
{gigs.map((gig) => (
<div onClick={() => setSpaceSelected(gig)} className={clx(
<div key={gig} onClick={() => setSpaceSelected(gig)} className={clx(
'bg-[#EBEDF5] border border-[#EBEDF5] cursor-pointer flex items-center text-xs h-10 px-6 rounded-lg',
spaceSelected === gig && 'border-black'
)}>