Skip to content

Commit

Permalink
refactoring logs data extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
RabeeAbuBaker committed Oct 11, 2023
1 parent 62fca2f commit cfa6ed6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/routes/account.$accountId.$appId.logs/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,5 @@ export default function AccountInsights() {
return <ErrorView message={message} />
}

const { logs } = data

return <AppLogs logs={logs} />
return <AppLogs logs={data?.logs} />
}

0 comments on commit cfa6ed6

Please sign in to comment.