File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[application ]
22name = " hemi"
3- out_dir = " dist "
3+ out_dir = " target/dx/hemi/release/web/public "
44asset_dir = " assets"
55default_platform = " web"
66
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments