Fix some debug assertion tags

Not relevant anyway because I think I'm going to have to stop using
Dioxus.
This commit is contained in:
Emilia Allison 2023-05-21 21:47:29 -04:00
parent db83921ffd
commit 1fd2119e1e
Signed by: emilia
GPG Key ID: 7A3F8997BFE894E0
2 changed files with 6 additions and 1 deletions

View File

@ -4,16 +4,19 @@ mod data;
use components::main_window::MainWindow;
use dioxus::prelude::*;
use fermi::*;
#[cfg(debug_assertions)]
use data::*;
pub fn App(cx: Scope) -> Element {
use_init_atom_root(cx);
cx.render(rsx! {
MainWindow {}
})
}
#[cfg(debug_assertions)]
pub fn plate_test() {
let source = plate::Plate::new(plate::PlateType::Source, plate::PlateFormat::W96);
let destination = plate::Plate::new(plate::PlateType::Destination, plate::PlateFormat::W384);

View File

@ -1,4 +1,6 @@
#[cfg(debug_assertions)]
use plate_tool::plate_test;
use plate_tool::App;
use wasm_logger;