Optimizations and underlying fixes done yesterday #282

Merged
ameye merged 22 commits from suggested-task-page into master 2023-07-10 08:46:47 +00:00
Showing only changes of commit d89194f18e - Show all commits
+6 -4
View File
@@ -47,9 +47,11 @@ export default function WalletItemCard({walletItem}) {
</p>
</div>
<div className="counters flex space-x-16">
<Link to='transfer-fund' className='px-2 py-1 flex items-center gap-2 user-balance cursor-pointer h-[48px] rounded-full relative bg-purple lg:text-xl text-lg font-bold text-white'>Transfer</Link>:''
<Link to='add-fund' state={{currency:walletItem.description}} className='px-2 py-1 flex items-center gap-2 user-balance cursor-pointer h-[48px] rounded-full relative bg-green lg:text-xl text-lg font-bold text-white'>
{
walletItem.action_type != 'AC_AD_FD_ONLY' ?
<Link to='transfer-fund' className='px-2 py-1 flex items-center gap-2 user-balance cursor-pointer h-[40px] rounded-full relative bg-purple lg:text-xl text-lg font-bold text-white'>Transfer</Link>:''
}
<Link to='add-fund' state={{currency:walletItem.description}} className='px-2 py-1 flex items-center gap-2 user-balance cursor-pointer h-[40px] rounded-full relative bg-white lg:text-xl text-lg font-bold'>
<span className="">
<svg xmlns="http://www.w3.org/2000/svg" width="38"
height="38" viewBox="0 0 42 42" fill="none"><path
@@ -57,7 +59,7 @@ export default function WalletItemCard({walletItem}) {
fill="white"></path>
</svg>
</span>
<span className='text-white'>Add Credit</span>
<span className='text-black'>Add Credit</span>
</Link>
{/*<div className="circle-count">*/}