Add shared empty states, customer product filters, and SSO handoff across dashboards.
Standardize list empty UI, searchable country fields, customer-products filter row, password/login polish, and one-time business dashboard handoff from the customer app. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
832ac32a09
commit
f8a9a28346
@@ -79,6 +79,15 @@ export async function updateProfile(payload: {
|
||||
})
|
||||
}
|
||||
|
||||
export async function consumeHandoff(ticket: string) {
|
||||
const data = await apiRequest<LoginResponse>('/auth/handoff/consume', {
|
||||
method: 'POST',
|
||||
body: { ticket },
|
||||
})
|
||||
setTokens(data.accessToken, data.refreshToken)
|
||||
return data
|
||||
}
|
||||
|
||||
export function logout() {
|
||||
clearTokens()
|
||||
clearActiveBusiness()
|
||||
|
||||
Reference in New Issue
Block a user