Explorar o código

Reduce change

Taichi Masuyama %!s(int64=3) %!d(string=hai) anos
pai
achega
3443a84fb9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/app/src/stores/ui.tsx

+ 1 - 1
packages/app/src/stores/ui.tsx

@@ -126,7 +126,7 @@ export const determineEditorModeByHash = (): EditorMode => {
     return EditorMode.View;
   }
 
-  const hash = window.location.hash;
+  const { hash } = window.location;
 
   switch (hash) {
     case EditorModeHash.Edit: