Skip to content

Commit

Permalink
feat(dashboard-dapps): update with latest sdk changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ditoglez committed Dec 6, 2024
1 parent 50363bf commit 9f76ed5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions apps/dashboard-for-dapps/src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const useFetchGrants = () => {
queryKey: ["grants"],
queryFn: () =>
idOS.grants.list({
grantee: address,
granteeAddress: address,
}),
select: (data) =>
data.map((grant) => ({
Expand Down Expand Up @@ -331,7 +331,6 @@ function CredentialDetails({
<List.Item
flexShrink="0"
key={key}
role="button"
transition="transform 0.2s"
cursor="pointer"
_hover={{ transform: "scale(1.02)" }}
Expand Down Expand Up @@ -424,7 +423,7 @@ function SearchResults({ results }: { results: GrantsWithFormattedLockedUntil })
pt="4"
grow
label="Owner"
value={grant.owner}
value={grant.ownerAddress}
truncate
/>
<DataListItem
Expand All @@ -439,7 +438,7 @@ function SearchResults({ results }: { results: GrantsWithFormattedLockedUntil })
pt="4"
grow
label="Grantee"
value={grant.grantee}
value={grant.granteeAddress}
truncate
/>
<DataListItem
Expand Down

0 comments on commit 9f76ed5

Please sign in to comment.