jan/web/app/_helpers/atoms/Model.atom.ts
NamH 00c944c0b5
Add empty model conversation (#254)
* add empty conversation model selection

Signed-off-by: James <james@jan.ai>

* chore: using secondary button instead of sidebar button

Signed-off-by: James <james@jan.ai>

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-10-02 19:36:10 -07:00

7 lines
220 B
TypeScript

import { Product } from "@/_models/Product";
import { atom } from "jotai";
export const currentProductAtom = atom<Product | undefined>(undefined);
export const selectedModelAtom = atom<Product | undefined>(undefined);