Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

How to Fix the bug:" TypeError: channels is undefined in Subscriptions" #22

Open
wansuiye09 opened this issue Apr 1, 2021 · 0 comments

Comments

@wansuiye09
Copy link

TypeError: channels is undefined
Subscriptions
src/components/Subscriptions.js:44
41 | const {channels} = useSelector((state) => state.user.data);
42 |
43 | return (

44 |
| ^ 45 | {channels.length > 0 &&

Subscriptions

}
46 |
47 | {channels?.map((channel) => (

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant