mirror of
https://github.com/outline/outline.git
synced 2026-12-04 18:34:54 +03:00
* Revert "Add recency boost to search results (#9038)" (#9065)
This reverts commit 2bc47cfcef.
* fix: Double fetch on refactored paginated list (#9068)
* fix: Store Linear workspace logo only when it's available (#9072)
* Extract subdomain auth redirect (#9070)
* Extract subdomain auth redirect
* docs
* Switch Linear to actor=app method (#9074)
* Basic /authorize framework for cloud auth
* Handle logged out OAuth apex
---------
Co-authored-by: Hemachandar <132386067+hmacr@users.noreply.github.com>
15 lines
255 B
TypeScript
15 lines
255 B
TypeScript
import { getCookie } from "tiny-cookie";
|
|
|
|
export type Sessions = Record<
|
|
string,
|
|
{
|
|
name: string;
|
|
logoUrl: string;
|
|
url: string;
|
|
}
|
|
>;
|
|
|
|
export function useLoggedInSessions(): Sessions {
|
|
return JSON.parse(getCookie("sessions") || "{}");
|
|
}
|