diff --git a/app/routes/hammer.tsx b/app/routes/hammer.tsx index e4632c6..64f196b 100644 --- a/app/routes/hammer.tsx +++ b/app/routes/hammer.tsx @@ -116,7 +116,7 @@ export default function () { const cardList = []; for (const entry of history) { - const url = entry.entity.properties.evidence.stringValue; + const url = entry.evidence; const isUrl = () => { try { new URL(url).href; @@ -131,9 +131,7 @@ export default function () { <Card> <CardHeader> <Heading size="md"> - {new Date( - parseInt(entry.entity.properties.executed_at.integerValue), - ).toLocaleString()} + {new Date(entry.executed_at).toLocaleString()} </Heading> </CardHeader> <CardBody> @@ -141,7 +139,7 @@ export default function () { <Box> <Heading size="xs">ACTION</Heading> <Text pt="2" size="sm"> - {entry.entity.properties.action.stringValue} + {entry.action} </Text> </Box> <Box>