Skip to content

Commit

Permalink
try console
Browse files Browse the repository at this point in the history
  • Loading branch information
nicnocquee committed Oct 9, 2024
1 parent af3819f commit 6cd6019
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/components/logo-with-context-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ export default function LogoWithContextMenu({
{downloadables.map((downloadable, i) => (
<ContextMenuItem
key={i}
onSelect={() =>
downloadImage(downloadable.url, downloadable.fileName)
}
onSelect={() => {
console.log(downloadable.url);
downloadImage(downloadable.url, downloadable.fileName);
}}
>
{downloadable.text}
</ContextMenuItem>
Expand Down

0 comments on commit 6cd6019

Please sign in to comment.