diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 31c0f62459..8f06875125 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -15,7 +15,6 @@ import { import { availableHotkeys } from "../configs/hotkeysConfig"; import { studioURL } from "../configs/generalConfig"; import { hasAccess } from "../utils/utils"; -import { overflowStyle } from "../utils/componentStyles"; import RegistrationModal from "./shared/RegistrationModal"; import HotKeyCheatSheet from "./shared/HotKeyCheatSheet"; import { useHotkeys } from "react-hotkeys-hook"; diff --git a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetAttachmentDetails.tsx b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetAttachmentDetails.tsx index b49f4373f7..1111714319 100644 --- a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetAttachmentDetails.tsx +++ b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetAttachmentDetails.tsx @@ -1,5 +1,4 @@ import React from "react"; -import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation"; import Notifications from "../../../shared/Notifications"; import { getAssetAttachmentDetails, @@ -22,11 +21,6 @@ const EventDetailsAssetAttachmentDetails = ({ const attachment = useAppSelector(state => getAssetAttachmentDetails(state)); const isFetching = useAppSelector(state => isFetchingAssetAttachmentDetails(state)); -// @ts-expect-error TS(7006): Parameter 'subTabName' implicitly has an 'any' typ... Remove this comment to see the full error message - const openSubTab = (subTabName) => { - setHierarchy(subTabName); - }; - return (
diff --git a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetAttachments.tsx b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetAttachments.tsx index 8e02c61a4a..c360951ae0 100644 --- a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetAttachments.tsx +++ b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetAttachments.tsx @@ -1,5 +1,4 @@ import React from "react"; -import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation"; import Notifications from "../../../shared/Notifications"; import { getAssetAttachments, diff --git a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetCatalogDetails.tsx b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetCatalogDetails.tsx index e07945ea99..516eaef5f8 100644 --- a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetCatalogDetails.tsx +++ b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetCatalogDetails.tsx @@ -1,5 +1,4 @@ import React from "react"; -import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation"; import Notifications from "../../../shared/Notifications"; import { getAssetCatalogDetails, @@ -22,11 +21,6 @@ const EventDetailsAssetCatalogDetails = ({ const catalog = useAppSelector(state => getAssetCatalogDetails(state)); const isFetching = useAppSelector(state => isFetchingAssetCatalogDetails(state)); -// @ts-expect-error TS(7006): Parameter 'subTabName' implicitly has an 'any' typ... Remove this comment to see the full error message - const openSubTab = (subTabName) => { - setHierarchy(subTabName); - }; - return (
diff --git a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetCatalogs.tsx b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetCatalogs.tsx index 0afd30c852..2c6e6dbc68 100644 --- a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetCatalogs.tsx +++ b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetCatalogs.tsx @@ -1,5 +1,4 @@ import React from "react"; -import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation"; import Notifications from "../../../shared/Notifications"; import { getAssetCatalogs, diff --git a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetMedia.tsx b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetMedia.tsx index df9cabb47f..8bb345f46b 100644 --- a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetMedia.tsx +++ b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetMedia.tsx @@ -1,5 +1,4 @@ import React from "react"; -import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation"; import Notifications from "../../../shared/Notifications"; import { getAssetMedia, diff --git a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetMediaDetails.tsx b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetMediaDetails.tsx index b6a9f10a24..8f4a5e8121 100644 --- a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetMediaDetails.tsx +++ b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetMediaDetails.tsx @@ -1,5 +1,4 @@ import React from "react"; -import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation"; import Notifications from "../../../shared/Notifications"; import { getAssetMediaDetails, @@ -25,11 +24,6 @@ const EventDetailsAssetMediaDetails = ({ const media = useAppSelector(state => getAssetMediaDetails(state)); const isFetching = useAppSelector(state => isFetchingAssetMediaDetails(state)); -// @ts-expect-error TS(7006): Parameter 'subTabName' implicitly has an 'any' typ... Remove this comment to see the full error message - const openSubTab = (subTabName) => { - setHierarchy(subTabName); - }; - return (
diff --git a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetPublicationDetails.tsx b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetPublicationDetails.tsx index b471ecb4b3..7d3a8cfd5f 100644 --- a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetPublicationDetails.tsx +++ b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetPublicationDetails.tsx @@ -1,5 +1,4 @@ import React from "react"; -import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation"; import Notifications from "../../../shared/Notifications"; import { getAssetPublicationDetails, @@ -22,11 +21,6 @@ const EventDetailsAssetPublicationDetails = ({ const publication = useAppSelector(state => getAssetPublicationDetails(state)); const isFetching = useAppSelector(state => isFetchingAssetPublicationDetails(state)); -// @ts-expect-error TS(7006): Parameter 'subTabName' implicitly has an 'any' typ... Remove this comment to see the full error message - const openSubTab = (subTabName) => { - setHierarchy(subTabName); - }; - return (
diff --git a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetPublications.tsx b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetPublications.tsx index 2e6913e550..cff0ba6749 100644 --- a/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetPublications.tsx +++ b/src/components/events/partials/ModalTabsAndPages/EventDetailsAssetPublications.tsx @@ -1,5 +1,4 @@ import React from "react"; -import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation"; import Notifications from "../../../shared/Notifications"; import { getAssetPublications, diff --git a/src/components/events/partials/modals/EventDetails.tsx b/src/components/events/partials/modals/EventDetails.tsx index 801bf51552..feb0ad4a78 100644 --- a/src/components/events/partials/modals/EventDetails.tsx +++ b/src/components/events/partials/modals/EventDetails.tsx @@ -12,15 +12,6 @@ import EventDetailsWorkflowOperationDetails from "../ModalTabsAndPages/EventDeta import EventDetailsWorkflowErrors from "../ModalTabsAndPages/EventDetailsWorkflowErrors"; import EventDetailsWorkflowErrorDetails from "../ModalTabsAndPages/EventDetailsWorkflowErrorDetails"; import EventDetailsAssetsTab from "../ModalTabsAndPages/EventDetailsAssetsTab"; -import EventDetailsAssetAttachments from "../ModalTabsAndPages/EventDetailsAssetAttachments"; -import EventDetailsAssetCatalogs from "../ModalTabsAndPages/EventDetailsAssetCatalogs"; -import EventDetailsAssetMedia from "../ModalTabsAndPages/EventDetailsAssetMedia"; -import EventDetailsAssetPublications from "../ModalTabsAndPages/EventDetailsAssetPublications"; -import EventDetailsAssetAttachmentDetails from "../ModalTabsAndPages/EventDetailsAssetAttachmentDetails"; -import EventDetailsAssetCatalogDetails from "../ModalTabsAndPages/EventDetailsAssetCatalogDetails"; -import EventDetailsAssetMediaDetails from "../ModalTabsAndPages/EventDetailsAssetMediaDetails"; -import EventDetailsAssetPublicationDetails from "../ModalTabsAndPages/EventDetailsAssetPublicationDetails"; -import EventDetailsAssetsAddAsset from "../ModalTabsAndPages/EventDetailsAssetsAddAsset"; import EventDetailsSchedulingTab from "../ModalTabsAndPages/EventDetailsSchedulingTab"; import DetailsExtendedMetadataTab from "../ModalTabsAndPages/DetailsExtendedMetadataTab"; import DetailsMetadataTab from "../ModalTabsAndPages/DetailsMetadataTab";