Skip to content

Commit

Permalink
fix: used named imports for lodash (#3562)
Browse files Browse the repository at this point in the history
  • Loading branch information
christjt authored Aug 8, 2023
1 parent b08cbaf commit f3426d7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Image360HistoricalPanel } from './Panel/Image360HistoricalPanel';
import { Image360HistoricalSummary } from './Toolbar/Image360HistoricalSummary';
import { formatDate } from './utils/FormatDate';
import styled from 'styled-components';
import uniqueId from 'lodash/uniqueId';
import { uniqueId } from 'lodash';

export type Image360HistoricalDetailsProps = {
viewer: Cognite3DViewer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from '@cognite/reveal';
import { useReveal } from '../RevealContainer/RevealContext';
import { use3DModelName } from '../../hooks/use3DModelName';
import isEqual from 'lodash/isEqual';
import { isEqual } from 'lodash';

export const LayersButton = (): ReactElement => {
const viewer = useReveal();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useReveal } from '../../RevealContainer/RevealContext';
import { type CogniteCadModel } from '@cognite/reveal';
import { Checkbox, Flex, Menu } from '@cognite/cogs.js';
import { StyledChipCount, StyledLabel, StyledSubMenu } from './elements';
import uniqueId from 'lodash/uniqueId';
import { uniqueId } from 'lodash';
import { type Reveal3DResourcesLayersProps } from './types';

export const CadModelLayersContainer = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useReveal } from '../../RevealContainer/RevealContext';
import { Checkbox, Flex, Menu } from '@cognite/cogs.js';
import { StyledChipCount, StyledLabel, StyledSubMenu } from './elements';
import { type Image360Collection } from '@cognite/reveal';
import uniqueId from 'lodash/uniqueId';
import { uniqueId } from 'lodash';
import { type Reveal3DResourcesLayersProps } from './types';

export const Image360CollectionLayerContainer = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useReveal } from '../../RevealContainer/RevealContext';
import { Checkbox, Flex, Menu } from '@cognite/cogs.js';
import { StyledChipCount, StyledLabel, StyledSubMenu } from './elements';
import { type CognitePointCloudModel } from '@cognite/reveal';
import uniqueId from 'lodash/uniqueId';
import { uniqueId } from 'lodash';
import { type Reveal3DResourcesLayersProps } from './types';

export const PointCloudLayersContainer = ({
Expand Down

0 comments on commit f3426d7

Please sign in to comment.