Skip to content

Commit 66ebe86

Browse files
committed
fix: Remove attributes for useInstanceInfo
1 parent 475480d commit 66ebe86

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/Storage/StorageProgress.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const StorageProgress = () => {
1717
const { diskUsage } = useInstanceInfo()
1818

1919
const { humanDiskQuota, humanDiskUsage, percentUsage } = makeDiskInfos(
20-
diskUsage?.data?.attributes?.used,
21-
diskUsage?.data?.attributes?.quota
20+
diskUsage.data?.used,
21+
diskUsage.data?.quota
2222
)
2323

2424
return (

src/components/Subscription/SubscriptionStorageItem.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const SubscriptionStorageItem = () => {
1818
const { diskUsage } = useInstanceInfo()
1919

2020
const { humanDiskQuota } = makeDiskInfos(
21-
diskUsage?.data?.attributes?.used,
22-
diskUsage?.data?.attributes?.quota
21+
diskUsage.data?.used,
22+
diskUsage.data?.quota
2323
)
2424

2525
return (

0 commit comments

Comments
 (0)