remove unused code

This commit is contained in:
SethBurkart123
2024-02-04 19:17:59 +11:00
parent f4c154ec01
commit 86ff139c78
@@ -1,7 +1,6 @@
import React, { useState, useRef, useEffect } from 'react'; import React, { useState, useRef, useEffect } from 'react';
import { motion } from 'framer-motion'; import { motion } from 'framer-motion';
import type { TabbedContainerProps } from '../types/TabbedContainerProps'; import type { TabbedContainerProps } from '../types/TabbedContainerProps';
import { useSettingsContext } from '../SettingsContext';
const TabbedContainer: React.FC<TabbedContainerProps> = ({ tabs }) => { const TabbedContainer: React.FC<TabbedContainerProps> = ({ tabs }) => {
const [activeTab, setActiveTab] = useState(0); const [activeTab, setActiveTab] = useState(0);
@@ -9,7 +8,6 @@ const TabbedContainer: React.FC<TabbedContainerProps> = ({ tabs }) => {
const [tabWidth, setTabWidth] = useState(0); const [tabWidth, setTabWidth] = useState(0);
const [position, setPosition] = useState(0); const [position, setPosition] = useState(0);
const positionRef = useRef(position); const positionRef = useRef(position);
const themeColor = useSettingsContext().settingsState.customThemeColor;
// Function to handle message // Function to handle message