aboutsummaryrefslogtreecommitdiff
path: root/examples/02-interactivity/src/app.gleam
diff options
context:
space:
mode:
Diffstat (limited to 'examples/02-interactivity/src/app.gleam')
-rw-r--r--examples/02-interactivity/src/app.gleam10
1 files changed, 2 insertions, 8 deletions
diff --git a/examples/02-interactivity/src/app.gleam b/examples/02-interactivity/src/app.gleam
index 7bf9c25..6e69048 100644
--- a/examples/02-interactivity/src/app.gleam
+++ b/examples/02-interactivity/src/app.gleam
@@ -4,14 +4,6 @@ import lustre/attribute
import lustre/element.{type Element}
import lustre/element/html
import lustre/event
-// These examples are written with `lustre/ui` in mind. They'll work regardless,
-// but to see what `lustre/ui` can do make sure to run each of these examples with
-// the `--use-example-styles` flag:
-//
-// $ gleam run -m lustre/dev start --use-example-styles
-//
-// In your own apps, make sure to add the `lustre/ui` dependency and include the
-// stylesheet somewhere.
import lustre/ui
// MAIN ------------------------------------------------------------------------
@@ -19,6 +11,8 @@ import lustre/ui
pub fn main() {
let app = lustre.simple(init, update, view)
let assert Ok(_) = lustre.start(app, "#app", 0)
+
+ Nil
}
// MODEL -----------------------------------------------------------------------