Skip to content

Commit

Permalink
Add message for polygon map layer
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaKhatri committed Apr 26, 2024
1 parent 8bbae34 commit 1434a01
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
} from '@togglecorp/fujs';
import {
Container,
Message,
SelectInput,
TextInput,
NumberInput,
Expand Down Expand Up @@ -190,6 +191,11 @@ function MapLayerEdit(props: Props) {
error={getErrorObject(error?.layerConfig)?.mapboxLayer}
/>
)}
{value?.type === 'POLYGON_LAYER' && (
<Message
message="Polygon layer is not yet available to use."
/>
)}
</Container>
);
}
Expand Down

0 comments on commit 1434a01

Please sign in to comment.