implement notification page (#8)

This commit is contained in:
UUBulb authored and GitHub committed 2024-11-20 21:37:03 +08:00
1 parent e37f30d335
commit b3588b3378
27 files changed
+1133 -36

No files matched your search

+2 -2
View File
@@ -5,11 +5,11 @@ import {
} from "@/components/ui/tabs"
import { Link, useLocation } from "react-router-dom"
export const GroupTab = () => {
export const GroupTab = ({ className }: { className?: string }) => {
const location = useLocation();
return (
<Tabs defaultValue={location.pathname}>
<Tabs defaultValue={location.pathname} className={className}>
<TabsList className="grid w-full grid-cols-2">
<TabsTrigger value="/dashboard/server-group" asChild>
<Link to="/dashboard/server-group">Server</Link>