mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-31 13:56:54 -06:00
updates: gate the wasm-only import (#1746)
This commit is contained in:
@@ -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