From 547f25178bc7505ae2e265ac134eaa8ef040af74 Mon Sep 17 00:00:00 2001 From: boojack Date: Wed, 22 Mar 2023 22:33:59 +0800 Subject: [PATCH] chore: add rss button in user menu (#1401) --- web/src/components/UserBanner.tsx | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/web/src/components/UserBanner.tsx b/web/src/components/UserBanner.tsx index 2cdb0fff..7ca54aa3 100644 --- a/web/src/components/UserBanner.tsx +++ b/web/src/components/UserBanner.tsx @@ -5,6 +5,7 @@ import Dropdown from "./base/Dropdown"; import showAboutSiteDialog from "./AboutSiteDialog"; import UserAvatar from "./UserAvatar"; import showSettingDialog from "./SettingDialog"; +import Icon from "./Icon"; const UserBanner = () => { const { t } = useTranslation(); @@ -51,25 +52,32 @@ const UserBanner = () => { {!userStore.isVisitorMode() && ( <> + + RSS + )} {!userStore.isVisitorMode() && ( )}