Skip to content

Commit

Permalink
fix import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarr committed May 17, 2024
1 parent 5f12338 commit 2f36f8e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import classNames from 'classnames';
import { Button } from '../Button';
import { Chevron24Down, Load24Icon, Plus20Circle } from '../../../icons';
import { Dropdown } from '../Dropdown';
import CardPlaceholder from '../../../../assets/card-placeholder.svg';
import CardPlaceholder from '../../../../../ui_assets/card-placeholder.svg';
import { cardsData } from './cardsData';
import {
createSvgExtrudedEntity,
Expand All @@ -14,7 +14,7 @@ import {
createCustomModel,
createPrimitiveGeometry
} from './createLayerFunctions';
import Events from '/src/lib/Events';
import Events from '../../../lib/Events';

const AddLayerPanel = ({ onClose, isAddLayerPanelOpen }) => {
const [selectedOption, setSelectedOption] = useState(null);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Events from '/src/lib/Events';
import Events from '../../../lib/Events';

function createSvgExtrudedEntity() {
// This component accepts a svgString and creates a new entity with geometry extruded
Expand Down
2 changes: 1 addition & 1 deletion src/editor/components/components/CommonComponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
import Events from '../../lib/Events';
import Clipboard from 'clipboard';
import { saveBlob } from '../../lib/utils';
import GLTFIcon from '../../../assets/gltf.svg';
import GLTFIcon from '../../../../ui_assets/gltf.svg';
import Mixins from './Mixins';

// @todo Take this out and use updateEntity?
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useRef, useState } from 'react';
import ScenePlaceholder from '../../../../assets/ScenePlaceholder.svg';
import ScenePlaceholder from '../../../../../ui_assets/ScenePlaceholder.svg';
import styles from './SceneCard.module.scss';
import { formatDistanceToNow } from 'date-fns';
import { DropdownIcon } from '../../../icons';
Expand Down Expand Up @@ -182,7 +182,7 @@ const SceneCard = ({
<div className={styles.userBlock}>
<div className={styles.userName}>
{/* Placeholder for username + thumbnail support */}
{/* <img src={'../../../../assets/avatar.svg'} alt="avatar" /> */}
{/* <img src={'../../../../../ui_assets/avatar.svg'} alt="avatar" /> */}
{/* <p>User Name</p> */}
<p>
<LastModified timestamp={scene.data().updateTimestamp} />
Expand Down

0 comments on commit 2f36f8e

Please sign in to comment.