diff --git a/app/src/components/layout/sidebarLeft/Assets.tsx b/app/src/components/layout/sidebarLeft/Assets.tsx index c5667f2..b863500 100644 --- a/app/src/components/layout/sidebarLeft/Assets.tsx +++ b/app/src/components/layout/sidebarLeft/Assets.tsx @@ -154,12 +154,14 @@ const Assets: React.FC = () => { setCategoryAssets(res); setFiltereredAssets(res); setisLoading(false); // End loading + // eslint-disable-next-line } catch (error) { - setisLoading(false); echo.error("failed to fetch assets"); + setisLoading(false); } } }; + return (
diff --git a/app/src/components/ui/simulation/AssetDetailsCard.tsx b/app/src/components/ui/simulation/AssetDetailsCard.tsx new file mode 100644 index 0000000..deb5375 --- /dev/null +++ b/app/src/components/ui/simulation/AssetDetailsCard.tsx @@ -0,0 +1,11 @@ +import React from 'react' + +const AssetDetailsCard:React.FC = () => { + return ( +
+ +
+ ) +} + +export default AssetDetailsCard \ No newline at end of file diff --git a/app/src/pages/Project.tsx b/app/src/pages/Project.tsx index 373629b..aa203c3 100644 --- a/app/src/pages/Project.tsx +++ b/app/src/pages/Project.tsx @@ -86,7 +86,7 @@ const Project: React.FC = () => { {!selectedUser && ( <> - {/* {loadingProgress > 0 && } */} + {loadingProgress > 0 && } {!isPlaying && ( <> {toggleThreeD && } @@ -122,7 +122,7 @@ const Project: React.FC = () => { } onDragOver={(event) => event.preventDefault()} > - {/* */} +
{selectedUser && } {isLogListVisible && (