From 5524db5a01a830b244b30c87c91b38493d2428ef Mon Sep 17 00:00:00 2001 From: klotske Date: Sat, 7 Jan 2023 03:50:25 +0300 Subject: [PATCH] Removed duplicate Box components --- website/src/pages/dashboard.tsx | 7 +--- website/src/pages/messages/index.tsx | 58 ++++++++++++++-------------- 2 files changed, 30 insertions(+), 35 deletions(-) diff --git a/website/src/pages/dashboard.tsx b/website/src/pages/dashboard.tsx index 728875ff..8ab4d527 100644 --- a/website/src/pages/dashboard.tsx +++ b/website/src/pages/dashboard.tsx @@ -1,4 +1,3 @@ -import { Box } from "@chakra-ui/react"; import Head from "next/head"; import { getDashboardLayout } from "src/components/Layout"; @@ -11,10 +10,8 @@ const Dashboard = () => { Dashboard - Open Assistant - - - - + + ); }; diff --git a/website/src/pages/messages/index.tsx b/website/src/pages/messages/index.tsx index cac39b87..96ee19db 100644 --- a/website/src/pages/messages/index.tsx +++ b/website/src/pages/messages/index.tsx @@ -31,38 +31,36 @@ const MessagesDashboard = () => { Messages - Open Assistant - - - - - Most recent messages - - - {isLoadingAll ? : } - + + + + Most recent messages + + + {isLoadingAll ? : } - - - Your most recent messages - - - {isLoadingUser ? : } - + + + + Your most recent messages + + + {isLoadingUser ? : } - - + + ); };