Browse Source

remove redudant setToast to null

Ryan Di 3 years ago
parent
commit
4d3dec612c
1 changed files with 0 additions and 1 deletions
  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();