Browse Source

remove redudant setToast to null

Ryan Di 3 năm trước cách đây
mục cha
commit
4d3dec612c
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/excalidraw-app/index.tsx

+ 0 - 1
src/excalidraw-app/index.tsx

@@ -482,7 +482,6 @@ const ExcalidrawWrapper = () => {
           } else {
             cancelPrevDisconnect();
             disconnect();
-            excalidrawAPI.setToast(null);
           }
         } else {
           cancelPrevDisconnect();