Skip to content

Commit

Permalink
Minor UI change
Browse files Browse the repository at this point in the history
  • Loading branch information
spaaaacccee committed May 22, 2024
1 parent 721f103 commit d609f35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/layers/map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const controller = {
/>
}
/>
{value?.source?.parsedMap?.error && (
{parsedMap?.error && (
<Typography
component="div"
variant="body2"
Expand All @@ -99,10 +99,10 @@ export const controller = {
mt: 1,
}}
>
<code>{value?.source?.parsedMap?.error}</code>
<code>{parsedMap?.error}</code>
</Typography>
)}
{!!value?.source?.map && (
{!!parsedMap && (
<>
<Heading label="Map Options" />
{Editor ? (
Expand Down

0 comments on commit d609f35

Please sign in to comment.