Skip to content

Commit

Permalink
fix: Remove attributes for useInstanceInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Nov 19, 2024
1 parent 8d154b4 commit 739334d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Storage/StorageProgress.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const StorageProgress = () => {
const { diskUsage } = useInstanceInfo()

const { humanDiskQuota, humanDiskUsage, percentUsage } = makeDiskInfos(
diskUsage?.data?.attributes?.used,
diskUsage?.data?.attributes?.quota
diskUsage.data?.used,
diskUsage.data?.quota
)

return (
Expand Down
4 changes: 2 additions & 2 deletions src/components/Subscription/SubscriptionStorageItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const SubscriptionStorageItem = () => {
const { diskUsage } = useInstanceInfo()

const { humanDiskQuota } = makeDiskInfos(
diskUsage?.data?.attributes?.used,
diskUsage?.data?.attributes?.quota
diskUsage.data?.used,
diskUsage.data?.quota
)

return (
Expand Down

0 comments on commit 739334d

Please sign in to comment.