From 9efb352f15e0f2ccd0d3037587f4468410d029d0 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 6 Jul 2021 01:11:52 +0800
Subject: fix: Fix #650.

---
 FrontEnd/src/views/admin/AdminNav.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'FrontEnd/src/views/admin/AdminNav.tsx')

diff --git a/FrontEnd/src/views/admin/AdminNav.tsx b/FrontEnd/src/views/admin/AdminNav.tsx
index 8b4c5fda..821c9b0a 100644
--- a/FrontEnd/src/views/admin/AdminNav.tsx
+++ b/FrontEnd/src/views/admin/AdminNav.tsx
@@ -3,13 +3,14 @@ import { useRouteMatch } from "react-router";
 
 import Tabs from "../common/tab/Tabs";
 
-const AdminNav: React.FC = () => {
+const AdminNav: React.FC<{ className?: string }> = ({ className }) => {
   const match = useRouteMatch<{ name: string }>();
 
   const name = match.params.name;
 
   return (
     <Tabs
+      className={className}
       activeTabName={name}
       tabs={[
         {
-- 
cgit v1.2.3

