mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
refactor(view): migrate to new view api
This commit is contained in:
@@ -7,6 +7,7 @@ import { RecastScene } from './types';
|
||||
*
|
||||
* 获取/设置多维区块场景
|
||||
* @public
|
||||
* @deprecated Use the `useRecastView` or `useCurrentView` API
|
||||
*/
|
||||
export const useRecastBlockScene = () => {
|
||||
const groupBlock = useRecastBlock();
|
||||
|
||||
@@ -7,7 +7,7 @@ export enum RecastScene {
|
||||
Page = 'page',
|
||||
Kanban = 'kanban',
|
||||
Table = 'table',
|
||||
Whiteboard = 'whiteboard',
|
||||
// Whiteboard = 'whiteboard',
|
||||
}
|
||||
|
||||
export type RecastViewId = string & {
|
||||
|
||||
Reference in New Issue
Block a user