mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-09 03:51:42 +00:00
updates: gate the wasm-only import (#1746)
This commit is contained in:
1 parent
7253909c09
commit
0abbe44cd4
1 file changed
+2
@@ -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"))]
|
||||
|
||||
Reference in new issue
Block a user