mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 09:01:17 -08:00
Update ImageContent.tsx
This commit is contained in:
1 file changed
+4
-1
@@ -204,7 +204,10 @@ export const ImageContent = as<'div', ImageContentProps>(
|
||||
src: srcState.data,
|
||||
onLoad: handleLoad,
|
||||
onError: handleError,
|
||||
onClick: () => setViewer(true),
|
||||
onClick: () => {
|
||||
setIsHovered(false);
|
||||
setViewer(true);
|
||||
},
|
||||
tabIndex: 0,
|
||||
})}
|
||||
</Box>
|
||||
|
||||
Reference in new issue
Block a user