diff --git a/sdk/src/client/builder.rs b/sdk/src/client/builder.rs
index fc5026fb18..576042a576 100644
--- a/sdk/src/client/builder.rs
+++ b/sdk/src/client/builder.rs
@@ -310,7 +310,7 @@ impl ClientBuilder {
sender: RwLock::new(mqtt_event_tx),
receiver: RwLock::new(mqtt_event_rx),
},
- last_sync: std::sync::Mutex::new(None),
+ last_sync: tokio::sync::Mutex::new(None),
}),
};
diff --git a/sdk/src/client/core.rs b/sdk/src/client/core.rs
index 9d4830e6ca..fb34c5764c 100644
--- a/sdk/src/client/core.rs
+++ b/sdk/src/client/core.rs
@@ -55,7 +55,7 @@ pub struct ClientInner {
#[cfg(feature = "mqtt")]
pub(crate) mqtt: MqttInner,
#[cfg(target_family = "wasm")]
- pub(crate) last_sync: std::sync::Mutex