Redesign mobile time clock, add shortcuts, and improve account management.
Add iOS Shortcuts/Siri intents, local send-reminder notifications, stable client picker with last-client defaults, account refresh/remove, and softer session handling on unauthorized API responses. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { TRPCClientError } from "@trpc/client";
|
||||
|
||||
export function isUnauthorizedError(error: unknown): boolean {
|
||||
return (
|
||||
error instanceof TRPCClientError &&
|
||||
(error.data?.code === "UNAUTHORIZED" || error.message === "UNAUTHORIZED")
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user