diff --git a/desktop/src-tauri/src/commands/identity_archive/mod.rs b/desktop/src-tauri/src/commands/identity_archive/mod.rs index 3ff00a35a..6368e930f 100644 --- a/desktop/src-tauri/src/commands/identity_archive/mod.rs +++ b/desktop/src-tauri/src/commands/identity_archive/mod.rs @@ -360,8 +360,10 @@ pub(crate) async fn scoped_archive_operation( pub(crate) mod test_hooks { use std::{cell::RefCell, sync::Arc}; + type ObserverFn = Arc; + thread_local! { - static OBSERVER: RefCell>> = + static OBSERVER: RefCell> = const { RefCell::new(None) }; static ATTEMPT_COUNT: RefCell = const { RefCell::new(0) }; }