Skip to content

Commit

Permalink
refactor IdSchemeFields.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
zbycz committed Oct 29, 2023
1 parent 7174804 commit 96f979a
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/components/FeaturePanel/Properties/Properties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ export const Properties = ({ showTags }) => {
<>
{!showTags && (
<>
<FeaturedTags
featuredTags={
feature.deleted ? [] : feature.schema?.featuredTags ?? []
}
/>
<FeaturedTags featuredTags={feature.schema?.featuredTags} />
<IdSchemeFields />
</>
)}
Expand All @@ -29,11 +25,7 @@ export const Properties = ({ showTags }) => {
<Wrapper>
<Table>
<tbody>
<TagsTableInner
tags={feature.tags}
center={feature.center}
except={[]}
/>
<TagsTableInner tags={feature.tags} center={feature.center} />
</tbody>
</Table>
</Wrapper>
Expand Down

0 comments on commit 96f979a

Please sign in to comment.