فهرست منبع

remove unnecessary code

Yuki Takei 2 سال پیش
والد
کامیت
7240fdd53f
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      apps/app/src/stores/ui.tsx

+ 0 - 2
apps/app/src/stores/ui.tsx

@@ -96,8 +96,6 @@ export const EditorModeHash = {
 } as const;
 } as const;
 export type EditorModeHash = typeof EditorModeHash[keyof typeof EditorModeHash];
 export type EditorModeHash = typeof EditorModeHash[keyof typeof EditorModeHash];
 
 
-export const isEditorModeHash = (hash: string): hash is EditorModeHash => Object.values<string>(EditorModeHash).includes(hash);
-
 const updateHashByEditorMode = (newEditorMode: EditorMode) => {
 const updateHashByEditorMode = (newEditorMode: EditorMode) => {
   const { pathname, search } = window.location;
   const { pathname, search } = window.location;