Declaring a const that refers to the current image in the Modal window #49
-
Hi, |
Beta Was this translation helpful? Give feedback.
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.
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.