aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2022-09-05 06:02:13 +0100
committerHayleigh Thompson <me@hayleigh.dev>2022-09-05 06:02:13 +0100
commitfc31d9a2ac9347c917821aa8615bc41b35eb9011 (patch)
treecca50018d263c7910651306fb04292cb08b47665
parent9a0a2896bfe37d08e9780db7aed95c3ed72882da (diff)
downloadlustre-fc31d9a2ac9347c917821aa8615bc41b35eb9011.tar.gz
lustre-fc31d9a2ac9347c917821aa8615bc41b35eb9011.zip
:pencil: Fix typo: 'require' -> 'required'.
-rw-r--r--src/lustre/attribute.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lustre/attribute.gleam b/src/lustre/attribute.gleam
index 570088e..4dff602 100644
--- a/src/lustre/attribute.gleam
+++ b/src/lustre/attribute.gleam
@@ -137,7 +137,7 @@ pub fn readonly (is_readonly: Bool) -> Attribute(action) {
}
///
-pub fn require (is_required: Bool) -> Attribute(action) {
+pub fn required (is_required: Bool) -> Attribute(action) {
property("required", dynamic.from(is_required))
}