From 06ae1da25ae9126836c41aa1148bea4cd453146c Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 1 Mar 2022 11:50:49 -0500 Subject: [PATCH] Fix missing interface --- .../views/catalog-room-previewer/CatalogRoomPreviewerView.tsx | 3 +-- src/views/shared/room-previewer/RoomPreviewerView.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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;