Closed frankcollins3 closed 1 year ago
// this is not a boolean specified issue, there is some meta concept asserting the error. 👎 TOGGLE_HYDRO_SETTINGS: (state:string) => {
oh wow just realized of course because this is a function not state
[2:28am]
attempting to do: unfortunately downversioning Next so at the same time upgrading react-redux-connect to @reduxjs-toolkit
error:![Screen Shot 2023-07-09 at 2 20 21 AM](https://github.com/frankcollins3/Next-Water-App/assets/73137934/2e5877f5-d039-4fe6-9500-6c600d16486d)
proposed approach: 0: 👍 TOGGLE_HYDRO_SETTINGS: (state:any) => { // crazy this is true
1: haven't made the other reducer yet so maybe adding :boolean to that would be better.
// will be making another app right away and this was ready for deployment last week so super critical to move on // already being gentle and generous going thru ringer and broadening redux toolbelt.