Click to edit UI (#385)
- [x] add e2e test - happy case (make sure it clears selection and next prompt is empty, and preview is cleared); de-selection case - [x] shim - old & new file - [x] upgrade path - [x] add docs - [x] add try-catch to parser script - [x] make it work for next.js - [x] extract npm package - [x] make sure plugin doesn't apply in prod
This commit is contained in:
6
src/atoms/previewAtoms.ts
Normal file
6
src/atoms/previewAtoms.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { ComponentSelection } from "@/ipc/ipc_types";
|
||||
import { atom } from "jotai";
|
||||
|
||||
export const selectedComponentPreviewAtom = atom<ComponentSelection | null>(
|
||||
null,
|
||||
);
|
||||
Reference in New Issue
Block a user