diff --git a/interface/src/components/TabbedContainer.tsx b/interface/src/components/TabbedContainer.tsx index 4a7108b1..4c23829f 100644 --- a/interface/src/components/TabbedContainer.tsx +++ b/interface/src/components/TabbedContainer.tsx @@ -1,5 +1,5 @@ import React, { useState, useRef, useEffect } from 'react'; -import { motion, AnimatePresence } from 'framer-motion'; +import { motion } from 'framer-motion'; import type { TabbedContainerProps } from '../types/TabbedContainerProps'; import { useSettingsContext } from '../SettingsContext'; @@ -94,23 +94,19 @@ const TabbedContainer: React.FC = ({ tabs }) => { transition={springTransition} >
- - {tabs.map((tab, index) => ( - activeTab === index && ( - - {tab.content} - - ) - ))} - + {tabs.map((tab, index) => ( + + {tab.content} + + ))}