hide search in other pages

This commit is contained in:
JzoNg 2024-10-11 17:13:28 +08:00
parent c6377f6e38
commit c08f98218c

View File

@ -204,6 +204,7 @@ export default function AccountSetting({
<div className='shrink-0 ml-2 text-xs text-gray-600'>{activeItem?.description}</div> <div className='shrink-0 ml-2 text-xs text-gray-600'>{activeItem?.description}</div>
) )
} }
{activeItem?.key === 'provider' && (
<div className='grow flex justify-end'> <div className='grow flex justify-end'>
<Input <Input
showLeftIcon showLeftIcon
@ -213,6 +214,7 @@ export default function AccountSetting({
value={searchValue} value={searchValue}
/> />
</div> </div>
)}
</div> </div>
<div className='px-4 sm:px-8 pt-2'> <div className='px-4 sm:px-8 pt-2'>
{activeMenu === 'account' && <AccountPage />} {activeMenu === 'account' && <AccountPage />}