-
-
-
-
-
-
-
+
+ {tabs.map((tab) => (
+
+ ))}
);
diff --git a/src/components/vault/Actions.tsx b/src/components/vault/Actions.tsx
index 6ab7410..9f543e9 100644
--- a/src/components/vault/Actions.tsx
+++ b/src/components/vault/Actions.tsx
@@ -3,6 +3,7 @@ import Tabs from '@/components/ui/Tabs';
import ActionWrapper from '@/components/actions/ActionWrapper';
import { ActionType } from '@/types/actions';
import DexLink from './DexLink';
+import { ACTIONS_TABS } from '@/constants';
interface ActionsProps {
isSafe?: boolean;
@@ -13,7 +14,11 @@ export default function Actions({ isSafe = false }: ActionsProps) {
return (
diff --git a/src/components/vault/ActionsDropdown.tsx b/src/components/vault/ActionsDropdown.tsx
index da3f6d1..6b50b49 100644
--- a/src/components/vault/ActionsDropdown.tsx
+++ b/src/components/vault/ActionsDropdown.tsx
@@ -3,12 +3,13 @@ import Tabs from '@/components/ui/Tabs';
import ActionWrapper from '@/components/actions/ActionWrapper';
import { ActionType } from '@/types/actions';
import DexLink from './DexLink';
+import { ACTIONS_TABS } from '@/constants';
interface ActionsProps {
isSafe?: boolean;
}
-export default function ActionsDropdown({ isSafe = false } : ActionsProps ) {
+export default function ActionsDropdown({ isSafe = false }: ActionsProps) {
const [isOpen, setIsOpen] = useState(false);
const [activeTab, setActiveTab] = useState
('deposit');
@@ -33,22 +34,10 @@ export default function ActionsDropdown({ isSafe = false } : ActionsProps ) {
className={`transition-all duration-200 overflow-hidden ${isOpen ? 'max-h-[2000px] opacity-100 p-3' : 'max-h-0 opacity-0 pb-0'
}`}
>
-
+