Skip to content

Commit 070dcf3

Browse files
committed
refactor: Remove useless code
1 parent af6434b commit 070dcf3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

freya/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ pub fn launch(app: Component<()>) {
2525

2626
let muts = dom.rebuild();
2727
let to_update = rdom.lock().unwrap().apply_mutations(vec![muts]);
28-
let mut ctx = AnyMap::new();
29-
ctx.insert(0.0f32);
28+
let ctx = AnyMap::new();
3029
rdom.lock().unwrap().update_state(&dom, to_update, ctx);
3130

3231
event_emitter

0 commit comments

Comments
 (0)