refactor: clean all pages component (#2176)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
Whitewater
2023-05-04 20:59:16 -07:00
committed by GitHub
parent 2c49c774af
commit 84b36c1d35
32 changed files with 772 additions and 504 deletions

View File

@@ -9,7 +9,7 @@ import { Typography } from '@mui/material';
import type React from 'react';
import { useEffect, useMemo, useState } from 'react';
import PageList from '../../components/blocksuite/block-suite-page-list/page-list';
import { BlockSuitePageList } from '../../components/blocksuite/block-suite-page-list';
import { StyledPage, StyledWrapper } from '../../layouts/styles';
import { toast } from '../../utils';
@@ -57,9 +57,10 @@ const BroadcastPage: React.FC = () => {
>
Create Page
</Button>
<PageList
<BlockSuitePageList
blockSuiteWorkspace={blockSuiteWorkspace}
onClickPage={() => {
listType="all"
onOpenPage={() => {
toast('do nothing');
}}
/>