From 4f910de2199cf2859bbaa34df2321199ae37583c Mon Sep 17 00:00:00 2001 From: mahdi Date: Sat, 9 Jul 2022 09:39:49 +0430 Subject: [PATCH] update src/components/Modal/index.js, src/components/Settingss/index.js and src/components/Tabbar/index.js --- src/components/Tabbar/index.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/components/Tabbar/index.js b/src/components/Tabbar/index.js index 871faaf..abd259b 100644 --- a/src/components/Tabbar/index.js +++ b/src/components/Tabbar/index.js @@ -27,9 +27,7 @@ const Tabbar = ({ tabs }) => { /> ))} -
+
{activeTab?.components}
@@ -44,37 +42,31 @@ Tabbar.defaultProps = { title: "تنظیمات", className: "rounded-tr-md rounded-br-md border-r-2", components: , - bg: "bg-transparent", }, { title: "سوالات", className: "", components: , - bg: "bg-transparent", }, { title: "چک لیست", className: "", components: , - bg: "bg-transparent", }, { title: "مکاتبات", className: "", components: , - bg: "bg-transparent", }, { title: "توابع", className: "", components: , - bg: "bg-transparent", }, { title: "شرایط و اجرا", className: "rounded-tl-md rounded-bl-md border-l-2", components: , - bg: "bg-transparent", }, ], };