Skip to content

Commit 7194828

Browse files
committed
remove rand
1 parent 910c17a commit 7194828

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

frameworks/keyed/dioxus/src/main.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@
33
use std::sync::atomic::{AtomicUsize, Ordering};
44

55
use dioxus::prelude::*;
6-
use js_sys::Math;
76
use rand::{seq::SliceRandom, thread_rng};
87

9-
fn random(max: usize) -> usize {
10-
(Math::random() * 1000.0) as usize % max
11-
}
12-
138
fn main() {
149
launch(app);
1510
}

0 commit comments

Comments
 (0)