Fix test console.

This commit is contained in:
Brian Cao 2023-08-15 13:08:18 -07:00
parent 0b9987d9e9
commit 38445fce7a

View File

@ -72,7 +72,7 @@ export function TestConsole() {
} }
const [websiteId] = id || []; const [websiteId] = id || [];
const website = data.find(({ id }) => websiteId === id); const website = data?.data.find(({ id }) => websiteId === id);
return ( return (
<Page loading={isLoading} error={error}> <Page loading={isLoading} error={error}>