refactor: remove unused code (#3149)

This commit is contained in:
Alex Yang
2023-07-11 16:53:01 +08:00
committed by GitHub
parent 0514da9759
commit 8c1fcee135
4 changed files with 18 additions and 37 deletions
@@ -1,4 +1,3 @@
// guid -> Workspace
import type { ActiveDocProvider, Workspace } from '@blocksuite/store';
import type { PassiveDocProvider } from '@blocksuite/store';
import { useAtomValue } from 'jotai/react';
@@ -8,6 +7,7 @@ import { useEffect } from 'react';
/**
* DO NOT ACCESS THIS MAP IN PRODUCTION, OR YOU WILL BE FIRED
* Map: guid -> Workspace
*/
export const INTERNAL_BLOCKSUITE_HASH_MAP = new Map<string, Workspace>([]);