Skip to content

Commit

Permalink
chore: update import path and use sistent component
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Amrutiya <[email protected]>
  • Loading branch information
amitamrutiya committed Oct 28, 2024
1 parent 17abeae commit 4ff52d6
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 19 deletions.
3 changes: 1 addition & 2 deletions src/custom/CatalogDetail/ActionButton.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import _ from 'lodash';
import React from 'react';
import { CircularProgress } from '../../base';
import { CopyIcon, KanvasIcon } from '../../icons';
import Download from '../../icons/Download/Download';
import { charcoal } from '../../theme';
import { Pattern } from '../CustomCatalog/CustomCard';
import CopyIcon from './Icons/CopyIcon';
import KanvasIcon from './Icons/Kanvas';
import { downloadFilter, downloadYaml, slugify } from './helper';
import { ActionButton, LinkUrl, StyledActionWrapper } from './style';
import { RESOURCE_TYPES } from './types';
Expand Down
2 changes: 1 addition & 1 deletion src/custom/CatalogDetail/ChallengesSection.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useEffect, useState } from 'react';
import { ListItemIcon } from '../../base';
import { ChallengesIcon } from '../../icons';
import { useTheme } from '../../theme';
import CollapsibleSection from './CollapsibleSection';
import ChallengesIcon from './Icons/ChallengesIcon';
import { slugify } from './helper';
import { LabelDiv } from './style';
import { FilteredAcademyData } from './types';
Expand Down
2 changes: 1 addition & 1 deletion src/custom/CatalogDetail/CollapsibleSection.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import ExpandLessIcon from '@mui/icons-material/ExpandLess';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import { Collapse, List, ListItemText } from '@mui/material';
import { Collapse, List, ListItemText } from '../../base';
import { InfoTooltip } from '../CustomTooltip';
import { SideContainer, SideTitleButton } from './style';

Expand Down
2 changes: 1 addition & 1 deletion src/custom/CatalogDetail/ContentClassInfo.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Box } from '@mui/material';
import React from 'react';
import { Box } from '../../base';
import { InfoTooltip } from '../CustomTooltip';
import { ContentDetailsPoints, ContentDetailsText } from '../Typography';
import { CONTENT_CLASS, formatToTitleCase } from './helper';
Expand Down
2 changes: 1 addition & 1 deletion src/custom/CatalogDetail/LearningSection.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { useEffect, useState } from 'react';
import { ListItemIcon } from '../../base';
import { LearningIcon } from '../../icons';
import { useTheme } from '../../theme';
import CollapsibleSection from './CollapsibleSection';
import LearningIcon from './Icons/LearningIcon';
import { slugify } from './helper';
import { LabelDiv } from './style';
import { FilteredAcademyData } from './types';
Expand Down
2 changes: 1 addition & 1 deletion src/custom/CatalogDetail/OverviewSection.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Grid } from '@mui/material';
import React from 'react';
import { Grid } from '../../base';
import { Pattern } from '../CustomCatalog/CustomCard';
import ContentClassInfo from './ContentClassInfo';
import MetricsDisplay from './MetricsDisplay';
Expand Down
16 changes: 4 additions & 12 deletions src/custom/CatalogDetail/SocialSharePopper.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
import {
ClickAwayListener,
Fade,
IconButton,
Paper,
Popper,
Tooltip,
useTheme
} from '@mui/material';
import { Fade } from '@mui/material';
import React from 'react';
import { FacebookShareButton, LinkedinShareButton, TwitterShareButton } from 'react-share';
import { ShareIcon } from '../../icons';
import { ClickAwayListener, IconButton, Paper, Popper, Tooltip } from '../../base';
import { ChainIcon, FacebookIcon, LinkedinIcon, ShareIcon, TwitterIcon } from '../../icons';
import { useTheme } from '../../theme';
import { Pattern } from '../CustomCatalog/CustomCard';
import ChainIcon from './Icons/ChainIcon';
import { FacebookIcon, LinkedinIcon, TwitterIcon } from './Icons/SocialMediaIcon';
import { CopyShareIconWrapper, VisibilityChip } from './style';

interface SocialSharePopperProps {
Expand Down

0 comments on commit 4ff52d6

Please sign in to comment.