Skip to content

Commit

Permalink
Update hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
matthunz committed Oct 22, 2023
1 parent ad74dc6 commit b481209
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions lookbook/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name = "dioxus-material-lookbook"
version = "0.1.0"
edition = "2021"

[features]
pages = []

[dependencies]
dioxus = { git = "https://github.com/ealmloff/dioxus", branch = "fix-signals-outside-of-runtime" }
dioxus-web = { git = "https://github.com/ealmloff/dioxus", branch = "fix-signals-outside-of-runtime" }
Expand Down
1 change: 0 additions & 1 deletion lookbook/Dioxus.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ default_platform = "web"

[web.app]
title = "Dioxus Material"
base_path = "dioxus-material/lookbook"

[web.watcher]
reload_html = true
Expand Down
7 changes: 0 additions & 7 deletions lookbook/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,8 @@ fn Home(cx: Scope) -> Element {
}

fn app(cx: Scope) -> Element {
#[cfg(feature = "pages")]
let prefix = "/dioxus-material/lookbook";

#[cfg(not(feature = "pages"))]
let prefix = "";

render!(
LookBook {
prefix: prefix,
home: Home,
previews: [ButtonPreview, TextButtonPreview, TextFieldPreview]
}
Expand Down

0 comments on commit b481209

Please sign in to comment.