aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2024-04-25 11:18:13 -0700
committerGitHub <noreply@github.com>2024-04-25 19:18:13 +0100
commit06b75022eed1e8bbed13a85cc8aeb18199040392 (patch)
tree1cacaf34e0e9512b5d18763b247f8990ba9da6a4
parentaeb89283c88dc650d8d055f553f3dfd166268d00 (diff)
downloadlustre-06b75022eed1e8bbed13a85cc8aeb18199040392.tar.gz
lustre-06b75022eed1e8bbed13a85cc8aeb18199040392.zip
🔀 Fix grammar in API reference. (#114)
-rw-r--r--src/lustre.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lustre.gleam b/src/lustre.gleam
index e74a55a..b3180a1 100644
--- a/src/lustre.gleam
+++ b/src/lustre.gleam
@@ -368,8 +368,8 @@ pub fn component(
///
/// The second argument is a [CSS selector](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector)
/// used to locate the DOM element where the application will be mounted on to.
-/// The most common selectors are `"#app"` to target an element an id of `app` or
-/// `[data-lustre-app]` to target an element with a `data-lustre-app` attribute.
+/// The most common selectors are `"#app"` to target an element with an id of `app`
+/// or `[data-lustre-app]` to target an element with a `data-lustre-app` attribute.
///
/// The third argument is the starting data for the application. This is passed
/// to the application's `init` function.