remove dummy data

master
Ondřej Hruška 4 years ago
parent 2a93800765
commit 1369db85e8
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 3
      yopa-web/src/main.rs

@ -167,6 +167,8 @@ async fn main() -> std::io::Result<()> {
fn init_yopa() -> YopaStoreWrapper {
let mut store = Storage::new();
/*
// Seed the store with some dummy data for view development
use yopa::model;
use yopa::DataType;
@ -288,6 +290,7 @@ fn init_yopa() -> YopaStoreWrapper {
}],
})
.unwrap();
*/
web::Data::new(tokio::sync::RwLock::new(store))
}

Loading…
Cancel
Save