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

HydroDataInterface: no .find() [9:12pm] #96

Closed frankcollins3 closed 1 year ago

frankcollins3 commented 1 year ago

attempting to do: .find() on user's Daily Data (from original react-express iteration of this app) updated the state with @redux/toolkit state constrained by an interface.

error: This interface does not allow for .find()

proposed approach: 👍 switched to local state typed: const [ hydroState ] = useState()

[9:26pm]