From 83eaa71fb6e1db7f9f1d1d2d7e2842695b552624 Mon Sep 17 00:00:00 2001 From: boojack Date: Wed, 29 Mar 2023 10:02:19 +0800 Subject: [PATCH] chore: add data storage banner (#4) * chore: stash * chore: add data storage banner * chore: update --- components/ChatView/Header.tsx | 6 +- components/ChatView/index.tsx | 6 +- components/CreateConnectionModal.tsx | 2 + components/DataStorageBanner.tsx | 33 +++++ components/SettingModal.tsx | 12 +- package.json | 1 + pages/index.tsx | 6 +- pnpm-lock.yaml | 193 ++++++++++++++++++++++++++- 8 files changed, 243 insertions(+), 16 deletions(-) create mode 100644 components/DataStorageBanner.tsx diff --git a/components/ChatView/Header.tsx b/components/ChatView/Header.tsx index b0ec66b..a57bb5b 100644 --- a/components/ChatView/Header.tsx +++ b/components/ChatView/Header.tsx @@ -18,11 +18,7 @@ const Header = (props: Props) => { }, [title]); return ( -
+