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