Skip to content

Commit

Permalink
fix: compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Aug 24, 2024
1 parent 902245a commit dfa8a28
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 12 deletions.
65 changes: 56 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ wasm-bindgen = "=0.2.93"
thiserror = "1"
tracing = { version = "0.1", optional = true }
http = "1"
leptos-use = { version = "0.10.10" }
leptos-use = {git = "https://github.com/Synphonyte/leptos-use.git" }
tracing-subscriber = "0.3.18"
chrono = "0.4.38"
tokio-cron-scheduler = "0.10.2"
regex = "1.10.5"
codee = "0.2.0"

[features]
hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"]
Expand Down
3 changes: 2 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ use crate::{
terminal,
};
use chrono::{Datelike, Utc};
use codee::string::FromToStringCodec;
use leptos::*;
use leptos_meta::*;
use leptos_use::{storage::use_session_storage, utils::FromToStringCodec};
use leptos_use::storage::use_session_storage;

#[component]
pub fn App() -> impl IntoView {
Expand Down
3 changes: 2 additions & 1 deletion src/terminal.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
use codee::string::FromToStringCodec;
use regex::Regex;
use std::{collections::BTreeMap, sync::Arc};

use html::Input;
use leptos::*;
use leptos_use::{storage::use_session_storage, use_event_listener, utils::FromToStringCodec};
use leptos_use::{storage::use_session_storage, use_event_listener};

use crate::{
context::{CodeSetter, Exercises, InputRef, Progress},
Expand Down

0 comments on commit dfa8a28

Please sign in to comment.