From 1369db85e8aa219014413c781aaba25d68f8e372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sat, 20 Feb 2021 18:56:52 +0100 Subject: [PATCH] remove dummy data --- yopa-web/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yopa-web/src/main.rs b/yopa-web/src/main.rs index 733f9fa..7da00df 100644 --- a/yopa-web/src/main.rs +++ b/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)) }