diff --git a/striker-ui/components/Memory.tsx b/striker-ui/components/Memory.tsx index 5febd821..5360a4e6 100644 --- a/striker-ui/components/Memory.tsx +++ b/striker-ui/components/Memory.tsx @@ -13,7 +13,7 @@ const Memory = (): JSX.Element => { `${process.env.NEXT_PUBLIC_API_URL}/get_memory?anvil_uuid=${uuid}`, ); - const memoryData = isLoading || !data ? { total: 0, free: 0 } : data; + const memoryData = isLoading || !data ? { total: 0, allocated: 0 } : data; return ( @@ -21,28 +21,26 @@ const Memory = (): JSX.Element => { diff --git a/striker-ui/types/AnvilMemory.d.ts b/striker-ui/types/AnvilMemory.d.ts index 26a5d70f..2fe1c2cb 100644 --- a/striker-ui/types/AnvilMemory.d.ts +++ b/striker-ui/types/AnvilMemory.d.ts @@ -1,4 +1,4 @@ declare type AnvilMemory = { total: number; - free: number; + allocated: number; };