updates: gate the wasm-only import (#1746)

This commit is contained in:
aiongg authored and GitHub committed 2026-10-31 01:43:37 -04:00
1 parent 7253909c09
commit 0abbe44cd4
1 file changed
+2
+2
View File
@@ -2,6 +2,8 @@
use crate::FigApp;
#[cfg(target_arch = "wasm32")]
use crate::i18n::tr;
#[cfg(not(target_arch = "wasm32"))]
use craft_update::updater::{Action, Updater};
#[cfg(not(target_arch = "wasm32"))]