Fix missing interface

This commit is contained in:
Bill 2022-03-01 11:50:49 -05:00
parent 300ed763eb
commit 06ae1da25a
2 changed files with 2 additions and 3 deletions

View File

@ -3,8 +3,7 @@ import { FC, useCallback, useRef } from 'react';
import { GetRoomEngine } from '../../../../api'; import { GetRoomEngine } from '../../../../api';
import { CatalogPurchasedEvent } from '../../../../events'; import { CatalogPurchasedEvent } from '../../../../events';
import { useUiEvent } from '../../../../hooks'; import { useUiEvent } from '../../../../hooks';
import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomPreviewerView'; import { RoomPreviewerView, RoomPreviewerViewProps } from '../../../../views/shared/room-previewer/RoomPreviewerView';
import { RoomPreviewerViewProps } from '../../../../views/shared/room-previewer/RoomPreviewerView.types';
export const CatalogRoomPreviewerView: FC<RoomPreviewerViewProps> = props => export const CatalogRoomPreviewerView: FC<RoomPreviewerViewProps> = props =>
{ {

View File

@ -2,7 +2,7 @@ import { ColorConverter, IRoomRenderingCanvas, RoomPreviewer, TextureUtils } fro
import { FC, useCallback, useEffect, useRef, useState } from 'react'; import { FC, useCallback, useEffect, useRef, useState } from 'react';
import { GetNitroInstance } from '../../../api'; import { GetNitroInstance } from '../../../api';
interface RoomPreviewerViewProps export interface RoomPreviewerViewProps
{ {
roomPreviewer: RoomPreviewer; roomPreviewer: RoomPreviewer;
height?: number; height?: number;