refactor(view): migrate to new view api

This commit is contained in:
lawvs
2022-07-26 17:24:05 +08:00
parent 7584986aa9
commit f8485d895b
6 changed files with 28 additions and 27 deletions

View File

@@ -7,6 +7,7 @@ import { RecastScene } from './types';
*
* 获取/设置多维区块场景
* @public
* @deprecated Use the `useRecastView` or `useCurrentView` API
*/
export const useRecastBlockScene = () => {
const groupBlock = useRecastBlock();

View File

@@ -7,7 +7,7 @@ export enum RecastScene {
Page = 'page',
Kanban = 'kanban',
Table = 'table',
Whiteboard = 'whiteboard',
// Whiteboard = 'whiteboard',
}
export type RecastViewId = string & {