mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-20 00:23:58 +01:00
9 lines
233 B
TypeScript
9 lines
233 B
TypeScript
import type { CookieJar } from '@yaakapp-internal/models';
|
|
import { atom, useAtomValue } from 'jotai';
|
|
|
|
export const cookieJarsAtom = atom<CookieJar[]>([]);
|
|
|
|
export function useCookieJars() {
|
|
return useAtomValue(cookieJarsAtom);
|
|
}
|