From f0f1c3144b77f70d7327e0f596b3f5441e1c6b85 Mon Sep 17 00:00:00 2001
From: agilarity
Date: Fri, 5 May 2023 11:26:24 -0400
Subject: [PATCH] fix: lint issues in `router` example (#996)
* build: add common tasks
* fix: resolve check-style issues
---
examples/router/Makefile.toml | 2 ++
examples/router/src/lib.rs | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/examples/router/Makefile.toml b/examples/router/Makefile.toml
index ab9175602..18313d806 100644
--- a/examples/router/Makefile.toml
+++ b/examples/router/Makefile.toml
@@ -1,3 +1,5 @@
+extend = { path = "../cargo-make/common.toml" }
+
[tasks.build]
command = "cargo"
args = ["+nightly", "build-all-features"]
diff --git a/examples/router/src/lib.rs b/examples/router/src/lib.rs
index e98d8bfd5..a4d85be25 100644
--- a/examples/router/src/lib.rs
+++ b/examples/router/src/lib.rs
@@ -107,7 +107,7 @@ pub fn ContactList(cx: Scope) -> impl IntoView {
"Loading contacts..."
}>
{move || view! { cx, }}
-