Skip to content

Commit e2f90e0

Browse files
committed
Remove unneeded defer.
#528 (comment)
1 parent 06680dc commit e2f90e0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Shared/Samples/Edit features using feature forms/EditFeaturesUsingFeatureFormsView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ struct EditFeaturesUsingFeatureFormsView: View {
7777
.task(id: tapPoint) {
7878
// Identifies the feature at the tapped point and creates a feature form from it.
7979
guard let tapPoint else { return }
80-
defer { self.tapPoint = nil }
8180

8281
do {
8382
let identifyLayerResult = try await mapViewProxy.identify(

0 commit comments

Comments
 (0)