frankcollins3 / Next-Water-App

Happy, Healthy Water Cycling App that tracks user/human fluid intake.
https://next-water-app.vercel.app
1 stars 0 forks source link

👎 dynamic UI & 👍 redux state [12:02pm] #72

Closed frankcollins3 closed 11 months ago

frankcollins3 commented 11 months ago

attempting to do: use dynamic UI to set redux state to be props of the component. redux works. props is an empty string.

error: img={NON_GOOGLE_IMG_URL} becomes: ''

                {
                  SELECTED_WEB_ICONS
                  ? <SelectedIconImage img={NON_GOOGLE_IMG_URL}/>
                  : <WebIconBoatGrid/> 
                }

but that same state: NON_GOOGLE_IMG_URL: is correctly set in another component. Screen Shot 2023-07-20 at 12 00 24 PM

bottles.png is also successfully altering the img src which shows the above "bottles" img above the buttons

frankcollins3 commented 11 months ago

kind of confused since i've used dynamic UI elsewhere in this app but have to move on going with redux state for now [12:14pm]