Skip to content
Snippets Groups Projects
Commit f4825ae5 authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

unused import

parent 8542febc
No related branches found
No related tags found
No related merge requests found
Pipeline #465460 failed
import { useEffect, useState } from 'react';
import { useNavigate, useLocation } from 'react-router-dom';
import { openFromOtherPage } from './openFromOtherpAge';
import { useNavigation } from '.';
import { useLoading } from './LoadingContext';
// Funktion, um den Haupttab zu öffnen
export const openTab = (tabId: string, tabClass: string) => {
......@@ -52,7 +51,6 @@ export const handleScrollToCollapse = (collapseId: string) => {
// Custom Hook zur zentralen Tab-Navigation
export const useTabNavigation = () => {
const { setIsLoading } = useLoading(); // 2. Ladezustand hier verwenden
const navigate = useNavigate();
const location = useLocation();
const [activeTab, setActiveTab] = useState<string | null>(null);
......
import { useNavigate } from "react-router-dom";
import { useState } from "react";
import { useLoading } from "./LoadingContext";
export const useNavigation = () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment