diff --git a/apps/portal/app/components/list/tags.tsx b/apps/portal/app/components/list/tags.tsx index b36b953a1..48758ebf7 100644 --- a/apps/portal/app/components/list/tags.tsx +++ b/apps/portal/app/components/list/tags.tsx @@ -10,7 +10,7 @@ import { import { ClaimPresenter, SortColumn } from '@0xintuition/api' import { ListHeader } from '@components/list/list-header' -import { saveListModalAtom, stakeModalAtom } from '@lib/state/store' +import { saveListModalAtom } from '@lib/state/store' import { formatBalance, getAtomDescription, @@ -51,7 +51,6 @@ export function TagsList({ ] const setSaveListModalActive = useSetAtom(saveListModalAtom) - const setStakeModalActive = useSetAtom(stakeModalAtom) return ( <> @@ -71,7 +70,7 @@ export function TagsList({ ]} /> )} - {claims.map((claim) => { + {claims.map((claim, index) => { const identity = claim.subject // TODO: ENG-0000: Show filled save if user has a position on claim // TODO: ENG-0000: Show only user position if user is on filtering by you. @@ -79,9 +78,9 @@ export function TagsList({ return (
-
+
- setStakeModalActive((prevState) => ({ - ...prevState, - mode: 'deposit', - modalType: 'identity', - isOpen: true, - identity: identity ?? undefined, - vaultId: identity?.vault_id ?? null, - })) - } - className={`w-full hover:bg-transparent ${readOnly ? '' : 'pr-0'}`} + className={`w-full border-none rounded-none bg-transparent ${readOnly ? '' : 'pr-0'}`} + isFirst={!enableHeader && index === 0} + isLast={index === claims.length - 1} + hideContextMenu={true} /> {readOnly === false && (
- - - - - - Profile - Settings - Logout - - + {!hideContextMenu && ( + + + + + + Profile + Settings + Logout + + + )}
@@ -142,25 +146,27 @@ const IdentityRow = ({ className="w-full" /> )} - - - - - - Profile - Settings - Logout - - + {!hideContextMenu && ( + + + + + + Profile + Settings + Logout + + + )}
{userPosition && userPosition !== '0' && (