Skip to content

Commit

Permalink
fix: 代码格式化
Browse files Browse the repository at this point in the history
  • Loading branch information
syb01094648 committed Dec 22, 2023
1 parent 27d54cb commit b7669b7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/layer-popup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,7 @@ export const LayerPopup: React.FC = () => {
feature.properties?.[FeatureKey.Index]
);
});
const revertFeature = revertCoord([feature])[0];
features[index] = revertFeature as Feature<
features[index] = revertCoord([feature])[0] as Feature<
Geometry | GeometryCollection,
object
>;
Expand All @@ -314,8 +313,7 @@ export const LayerPopup: React.FC = () => {
feature.properties?.[FeatureKey.Index]
);
});
const revertFeature = revertCoord([feature])[0];
features[index] = revertFeature as Feature<
features[index] = revertCoord([feature])[0] as Feature<
Geometry | GeometryCollection,
object
>;
Expand Down

0 comments on commit b7669b7

Please sign in to comment.