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:
parent
db83921ffd
commit
1fd2119e1e
|
@ -4,16 +4,19 @@ mod data;
|
||||||
|
|
||||||
use components::main_window::MainWindow;
|
use components::main_window::MainWindow;
|
||||||
use dioxus::prelude::*;
|
use dioxus::prelude::*;
|
||||||
|
use fermi::*;
|
||||||
|
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
use data::*;
|
use data::*;
|
||||||
|
|
||||||
pub fn App(cx: Scope) -> Element {
|
pub fn App(cx: Scope) -> Element {
|
||||||
|
use_init_atom_root(cx);
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
MainWindow {}
|
MainWindow {}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(debug_assertions)]
|
||||||
pub fn plate_test() {
|
pub fn plate_test() {
|
||||||
let source = plate::Plate::new(plate::PlateType::Source, plate::PlateFormat::W96);
|
let source = plate::Plate::new(plate::PlateType::Source, plate::PlateFormat::W96);
|
||||||
let destination = plate::Plate::new(plate::PlateType::Destination, plate::PlateFormat::W384);
|
let destination = plate::Plate::new(plate::PlateType::Destination, plate::PlateFormat::W384);
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
|
#[cfg(debug_assertions)]
|
||||||
use plate_tool::plate_test;
|
use plate_tool::plate_test;
|
||||||
|
|
||||||
use plate_tool::App;
|
use plate_tool::App;
|
||||||
use wasm_logger;
|
use wasm_logger;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue