Skip to content

Commit

Permalink
doc: fixed documentation error for validate function (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi authored Dec 25, 2024
1 parent 87c0723 commit b575882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/4.MODES.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ polygonMode = new TerraDrawPolygonMode({
if (updateType === "finish" || updateType === "commit") {
return ValidateNotSelfIntersecting(feature);
}
return true
return { valid: true }
}
});
```
Expand Down

0 comments on commit b575882

Please sign in to comment.