Skip to content

Commit a0d8da5

Browse files
committed
update out dir
1 parent 509c67b commit a0d8da5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dioxus.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[application]
22
name = "hemi"
3-
out_dir = "dist"
3+
out_dir = "target/dx/hemi/release/web/public"
44
asset_dir = "assets"
55
default_platform = "web"
66

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600&display=swap');
1414
</style>
1515

16-
<link href="./tailwind.css" rel="stylesheet">
16+
<link href="./assets/tailwind.css" rel="stylesheet">
1717
</head>
1818

1919
<body>

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fn App() -> Element {
9393
use_context_provider(|| Signal::new(Layouts::default()));
9494
let mut layouts_state = use_context::<Signal<Layouts>>();
9595

96-
let mut layouts = use_resource(|| async move { Layouts::pull().await });
96+
let layouts = use_resource(|| async move { Layouts::pull().await });
9797

9898
use_effect(move || {
9999
if let Some(ref data) = *layouts.read() {
@@ -222,7 +222,7 @@ fn Header() -> Element {
222222

223223
let flip_side = move |_| {
224224
let mut app = app.write();
225-
let mut dictionary = dictionary.write();
225+
let dictionary = dictionary.read();
226226

227227
let newSide = match app.side {
228228
TypingSide::Left => TypingSide::Right,

0 commit comments

Comments
 (0)