We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8da1ec commit 32038ebCopy full SHA for 32038eb
src/components/Image.tsx
@@ -22,7 +22,7 @@ const Image: React.FC<ImageProps> = ({
22
// Override onClick if href provided.
23
if (href !== undefined) {
24
const navigate = useNavigate();
25
- onClick = () => navigate(href);
+ onClick = () => { navigate(href); };
26
style.cursor = 'pointer';
27
}
28
0 commit comments