mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): remove debug stmts
This commit is contained in:
parent
55dfabb892
commit
89b7082bc0
@ -7,11 +7,9 @@ const $isDynamicPromptsModalOpen = atom<boolean>(false);
|
|||||||
export const useDynamicPromptsModal = () => {
|
export const useDynamicPromptsModal = () => {
|
||||||
const isOpen = useStore($isDynamicPromptsModalOpen);
|
const isOpen = useStore($isDynamicPromptsModalOpen);
|
||||||
const onOpen = useCallback(() => {
|
const onOpen = useCallback(() => {
|
||||||
console.log('onOpen');
|
|
||||||
$isDynamicPromptsModalOpen.set(true);
|
$isDynamicPromptsModalOpen.set(true);
|
||||||
}, []);
|
}, []);
|
||||||
const onClose = useCallback(() => {
|
const onClose = useCallback(() => {
|
||||||
console.log('onClose');
|
|
||||||
$isDynamicPromptsModalOpen.set(false);
|
$isDynamicPromptsModalOpen.set(false);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user