Skip to content

Commit

Permalink
Fix test console.
Browse files Browse the repository at this point in the history
  • Loading branch information
briancao committed Aug 15, 2023
1 parent 0b9987d commit 38445fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/pages/console/TestConsole.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function TestConsole() {
}

const [websiteId] = id || [];
const website = data.find(({ id }) => websiteId === id);
const website = data?.data.find(({ id }) => websiteId === id);

return (
<Page loading={isLoading} error={error}>
Expand Down

0 comments on commit 38445fc

Please sign in to comment.