Skip to content

Commit

Permalink
Merge pull request #743 from Arnei/fix-checkstyle
Browse files Browse the repository at this point in the history
Fix checkstyle issues and disable sourcemaps
  • Loading branch information
Arnei authored Jun 26, 2024
2 parents 238509c + c5306fb commit 9041807
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 38 deletions.
1 change: 0 additions & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation";
import Notifications from "../../../shared/Notifications";
import {
getAssetAttachmentDetails,
Expand All @@ -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 (
<div className="modal-content">
<div className="modal-body">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation";
import Notifications from "../../../shared/Notifications";
import {
getAssetAttachments,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation";
import Notifications from "../../../shared/Notifications";
import {
getAssetCatalogDetails,
Expand All @@ -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 (
<div className="modal-content">
<div className="modal-body">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation";
import Notifications from "../../../shared/Notifications";
import {
getAssetCatalogs,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation";
import Notifications from "../../../shared/Notifications";
import {
getAssetMedia,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation";
import Notifications from "../../../shared/Notifications";
import {
getAssetMediaDetails,
Expand All @@ -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 (
<div className="modal-content">
<div className="modal-body">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation";
import Notifications from "../../../shared/Notifications";
import {
getAssetPublicationDetails,
Expand All @@ -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 (
<div className="modal-content">
<div className="modal-body">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import EventDetailsTabHierarchyNavigation from "./EventDetailsTabHierarchyNavigation";
import Notifications from "../../../shared/Notifications";
import {
getAssetPublications,
Expand Down
9 changes: 0 additions & 9 deletions src/components/events/partials/modals/EventDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 9041807

Please sign in to comment.