From 1792ca1272fd2641e56b2e7f0e7ef4a1d2ffc74b Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 29 Jun 2023 21:16:12 +0800 Subject: [PATCH] chore: update shortcut header style --- web/src/components/ShortcutView.tsx | 4 +--- web/src/pages/Home.tsx | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/web/src/components/ShortcutView.tsx b/web/src/components/ShortcutView.tsx index b8aa4d7..25a2ad1 100644 --- a/web/src/components/ShortcutView.tsx +++ b/web/src/components/ShortcutView.tsx @@ -61,9 +61,7 @@ const ShortcutView = (props: Props) => { )} diff --git a/web/src/pages/Home.tsx b/web/src/pages/Home.tsx index fbe4004..533451c 100644 --- a/web/src/pages/Home.tsx +++ b/web/src/pages/Home.tsx @@ -1,4 +1,4 @@ -import { Button, Option, Select } from "@mui/joy"; +import { Button, Tab, TabList, Tabs } from "@mui/joy"; import { useEffect, useState } from "react"; import { shortcutService } from "../services"; import { useAppSelector } from "../stores"; @@ -37,19 +37,23 @@ const Home: React.FC = () => { return ( <>
+
+ Shortcuts +
- Shortcuts + setSelectFilter(value as any)}> + + All + Mine + + +
+
-
- -
{loadingState.isLoading ? (