Browse Source

fix restoring from localStorage (#715)

David Luzar 5 năm trước cách đây
mục cha
commit
82eb97462b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/index.tsx

+ 2 - 0
src/index.tsx

@@ -353,6 +353,8 @@ export class App extends React.Component<any, AppState> {
       );
       if (match) {
         this.loadScene(match[1], match[2]);
+      } else {
+        this.loadScene(null, undefined);
       }
     }
   }