diff --git a/.github/workflows/ci-stable-examples.yml b/.github/workflows/ci-stable-examples.yml deleted file mode 100644 index f6cb9520d..000000000 --- a/.github/workflows/ci-stable-examples.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: CI Stable Examples - -on: - push: - branches: - - main - pull_request: - branches: - - main - -jobs: - get-leptos-changed: - uses: ./.github/workflows/get-leptos-changed.yml - - test: - name: CI - needs: [get-leptos-changed] - if: needs.get-leptos-changed.outputs.leptos_changed == 'true' - strategy: - matrix: - directory: [examples/counters_stable, examples/counter_without_macros] - uses: ./.github/workflows/run-cargo-make-task.yml - with: - directory: ${{ matrix.directory }} - cargo_make_task: "ci" - toolchain: stable diff --git a/examples/hackernews/Cargo.toml b/examples/hackernews/Cargo.toml index e1e9a055c..b57ce954b 100644 --- a/examples/hackernews/Cargo.toml +++ b/examples/hackernews/Cargo.toml @@ -15,10 +15,10 @@ actix-files = { version = "0.6", optional = true } actix-web = { version = "4", optional = true, features = ["macros"] } console_log = "1" console_error_panic_hook = "0.1" -leptos = { path = "../../leptos", features = ["nightly"] } -leptos_meta = { path = "../../meta", features = ["nightly"] } +leptos = { path = "../../leptos" } +leptos_meta = { path = "../../meta" } leptos_actix = { path = "../../integrations/actix", optional = true } -leptos_router = { path = "../../router", features = ["nightly"] } +leptos_router = { path = "../../router" } log = "0.4" serde = { version = "1", features = ["derive"] } gloo-net = { version = "0.2", features = ["http"] } diff --git a/examples/hackernews/src/main.rs b/examples/hackernews/src/main.rs index 5ee11f48c..9896771d2 100644 --- a/examples/hackernews/src/main.rs +++ b/examples/hackernews/src/main.rs @@ -52,5 +52,5 @@ fn main() { _ = console_log::init_with_level(log::Level::Debug); console_error_panic_hook::set_once(); - mount_to_body(App) + leptos::mount_to_body(App) } diff --git a/examples/hackernews/src/routes/stories.rs b/examples/hackernews/src/routes/stories.rs index 594667f45..bc5d2214a 100644 --- a/examples/hackernews/src/routes/stories.rs +++ b/examples/hackernews/src/routes/stories.rs @@ -37,7 +37,7 @@ pub fn Stories() -> impl IntoView { let hide_more_link = move || { stories.get().unwrap_or(None).unwrap_or_default().len() < 28 - || pending() + || pending.get() }; view! { diff --git a/examples/hackernews/src/routes/story.rs b/examples/hackernews/src/routes/story.rs index 596d47bb7..e268febb6 100644 --- a/examples/hackernews/src/routes/story.rs +++ b/examples/hackernews/src/routes/story.rs @@ -87,7 +87,7 @@ pub fn Comment(comment: api::Comment) -> impl IntoView { { let comments_len = comment.comments.len(); - move || if open() { + move || if open.get() { "[-]".into() } else { format!("[+] {}{} collapsed", comments_len, pluralize(comments_len)) @@ -95,7 +95,7 @@ pub fn Comment(comment: api::Comment) -> impl IntoView { } - {move || open().then({ + {move || open.get().then({ let comments = comment.comments.clone(); move || view! {