Skip to content

Commit

Permalink
fix: conditionally render header in cli dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushnirwal committed May 8, 2024
1 parent 3e5481b commit 1efdb28
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/report/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ const App = () => {

return (
<div className="h-full w-full flex flex-col">
<div className="flex gap-2 items-center px-4 py-2">
<PrivacySandboxColoredIcon className="w-6 h-6" />
<p className="text-sm">{data?.url}</p>
</div>
{data?.url && (
<div className="flex gap-2 items-center px-4 py-2">
<PrivacySandboxColoredIcon className="w-6 h-6" />
<p className="text-sm">{data.url}</p>
</div>
)}
<CookiesSection />
<BlockedCookiesSection />
{data && data?.cookiesStatsComponents?.exempted?.length > 0 && (
Expand Down

0 comments on commit 1efdb28

Please sign in to comment.