Declaring a const that refers to the current image in the Modal window #49
Answered
by
KAJdev
iamevandrake
asked this question in
Q&A
-
Hi, |
Beta Was this translation helpful? Give feedback.
Answered by
KAJdev
May 22, 2023
Replies: 1 comment 3 replies
-
We use zustand for all global state management, so while this value I don't believe is technically exposed since no part of the UI depends on it except for the modal component itself, all you would need to do is define a hook in |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
iamevandrake
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We use zustand for all global state management, so while this value I don't believe is technically exposed since no part of the UI depends on it except for the modal component itself, all you would need to do is define a hook in
Generation.Images.Modal
that returns the value if you needed it for some reason.