Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

#955 fix

Louis Beaumont3f520b8b0586
diff --git a/screenpipe-app-tauri/bun.lockb b/screenpipe-app-tauri/bun.lockb
index c42805e66..2177d211c 100755
Binary files a/screenpipe-app-tauri/bun.lockb and b/screenpipe-app-tauri/bun.lockb differ
diff --git a/screenpipe-app-tauri/lib/hooks/use-user.ts b/screenpipe-app-tauri/lib/hooks/use-user.ts
index 0a94a861d..2a617e1c1 100644
--- a/screenpipe-app-tauri/lib/hooks/use-user.ts
+++ b/screenpipe-app-tauri/lib/hooks/use-user.ts
@@ -49,6 +49,8 @@ export function useUser() {
try {
const userData = await verifyUserToken(token);
console.log("userData", userData);
+ // skip if user data did not change
+ if (userData.id === user?.id) return;
setUser(userData);
await updateSettings({ user: userData });
} catch (err) {
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index 3dd517072..61f080ceb 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -4966,7 +4966,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "0.16.6"
+version = "0.16.8"
dependencies = [
"anyhow",
"axum",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 8d92269ae..641c45c8b 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.16.8"
+version = "0.16.9"
description = ""
authors = ["you"]
license = ""