Skip to content

Commit b103d29

Browse files
committed
[FIX]: Remove alert on double click
1 parent 4ba388f commit b103d29

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayerLegacy.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const FileMosaicUploadLayerLegacy: React.FC<FileMosaicUploadLayerProps> = (
5252
<React.Fragment>
5353
<InfiniteLoader
5454
onClick={() => {
55-
alert("clicked");
55+
//alert("clicked");
5656
}}
5757
size={60}
5858
/>
@@ -76,7 +76,7 @@ const FileMosaicUploadLayerLegacy: React.FC<FileMosaicUploadLayerProps> = (
7676
) : (
7777
<InfiniteLoader
7878
onClick={() => {
79-
alert("clicked");
79+
//alert("clicked");
8080
}}
8181
size={60}
8282
/>

src/FileMosaic/components/file-mosaic/FileMosaic.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ const FileMosaic: React.FC<FileMosaicProps> = (props: FileMosaicProps) => {
181181
const handleDoubleClick: React.MouseEventHandler<HTMLDivElement> = (
182182
evt: React.MouseEvent
183183
): void => {
184-
alert("double click on file");
184+
//alert("double click on file");
185185
evt.preventDefault();
186186

187187
onDoubleClick?.(evt);

0 commit comments

Comments
 (0)