Skip to content

Commit 8df34f7

Browse files
committed
fix: Do not accept drag and drop when the service is started
1 parent dd9c611 commit 8df34f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ const App = () => {
261261
* @desc Drag events entry
262262
*/
263263
const fileDrop = (e) => {
264-
if (shareType === SHARE_TYPE.CLIPBORAD) return;
264+
if (shareType === SHARE_TYPE.CLIPBORAD || isStarted) return;
265265
if (e.type === "dragenter") {
266266
e.preventDefault();
267267
countRef.current++;

0 commit comments

Comments
 (0)