LilyyyXD
LilyyyXD2y ago

lxd – 14-14 Jan 23

Unable to access state in redux toolkit app
3 Replies
LilyyyXD
LilyyyXD2y ago
https://codesandbox.io/s/quiet-resonance-gcp9nf?file=/src/features/movies/movieSlice.js Hello , I am unable to access the movies state in line 13 where i wrote state.movies . In the file https://codesandbox.io/s/quiet-resonance-gcp9nf?file=/src/components/Home/Home.js , addMovies in line 17 is getting called in .then since the consolelog is being printed but in line 18 i have an .catch which is also getting printed so I am unable to decipher from the console error messages what I am doing wrong
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
reactibot
reactibot2y ago
This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/902647189120118794/1067084949246718032