diff --git a/src/components/catalog/views/catalog-room-previewer/CatalogRoomPreviewerView.tsx b/src/components/catalog/views/catalog-room-previewer/CatalogRoomPreviewerView.tsx index a5257112..75b472bf 100644 --- a/src/components/catalog/views/catalog-room-previewer/CatalogRoomPreviewerView.tsx +++ b/src/components/catalog/views/catalog-room-previewer/CatalogRoomPreviewerView.tsx @@ -3,8 +3,7 @@ import { FC, useCallback, useRef } from 'react'; import { GetRoomEngine } from '../../../../api'; import { CatalogPurchasedEvent } from '../../../../events'; import { useUiEvent } from '../../../../hooks'; -import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomPreviewerView'; -import { RoomPreviewerViewProps } from '../../../../views/shared/room-previewer/RoomPreviewerView.types'; +import { RoomPreviewerView, RoomPreviewerViewProps } from '../../../../views/shared/room-previewer/RoomPreviewerView'; export const CatalogRoomPreviewerView: FC = props => { diff --git a/src/views/shared/room-previewer/RoomPreviewerView.tsx b/src/views/shared/room-previewer/RoomPreviewerView.tsx index 14ad35ff..b1c9761b 100644 --- a/src/views/shared/room-previewer/RoomPreviewerView.tsx +++ b/src/views/shared/room-previewer/RoomPreviewerView.tsx @@ -2,7 +2,7 @@ import { ColorConverter, IRoomRenderingCanvas, RoomPreviewer, TextureUtils } fro import { FC, useCallback, useEffect, useRef, useState } from 'react'; import { GetNitroInstance } from '../../../api'; -interface RoomPreviewerViewProps +export interface RoomPreviewerViewProps { roomPreviewer: RoomPreviewer; height?: number;