Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
fix: export pane is not displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Oct 6, 2021
1 parent 9c23b3e commit 58ceda4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/components/organisms/EarthEditor/RightMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,11 @@ const RightMenu: React.FC = () => {
<PropertyPane mode="infobox" />
</>
),
export:
selected === "layer" ||
(selected === "scene" && (
<>
<ExportPane />
</>
)),
export: (selected === "layer" || selected === "scene") && (
<>
<ExportPane />
</>
),
}}
</TabArea>
);
Expand Down

0 comments on commit 58ceda4

Please sign in to comment.