feat: add shared page empty tip (#2077)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
Chi Zhang
2023-04-23 06:24:18 +08:00
committed by GitHub
parent 7d246f87e7
commit 70d8f9a0a7
4 changed files with 19 additions and 2 deletions
@@ -15,6 +15,9 @@ export const PageListEmpty = (props: { listType?: string }) => {
if (listType === 'trash') {
return t('emptyTrash');
}
if (listType === 'shared') {
return t('emptySharedPages');
}
};
return (