From acb4e4c3c73eaf49bda4a57b126c7d8d992d50cf Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Thu, 12 Jan 2023 15:45:17 +0000 Subject: [PATCH] improve `emptyListRender` for profile posts --- packages/app/src/pages/account/tabs/posts.jsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/app/src/pages/account/tabs/posts.jsx b/packages/app/src/pages/account/tabs/posts.jsx index b2d8eb28..d4530f58 100755 --- a/packages/app/src/pages/account/tabs/posts.jsx +++ b/packages/app/src/pages/account/tabs/posts.jsx @@ -1,15 +1,19 @@ import React from "react" -import { Skeleton } from "antd" +import { Skeleton, Result } from "antd" -import { PostsList } from "components" import Post from "models/post" +import { PostsList } from "components" +import { Icons } from "components/Icons" + const emptyListRender = () => { - return
+ return } + >

- This user has no posts yet. + It's seems this user has no public post, yet.

-
+ } export default class UserPosts extends React.Component {