* Add logic to subscribe button that shows login modal if user is not logged in Pass in userstatus to CommentSubscription Remove logic that loads comment subscription button for logged-in users only * Modify test to account for new userStatus input in CommentSubscription * Change UserStatus to isLoggedIn Add propType to isLoggedIn Remove preventDefault from click event * Fix indentation and input on commentSubscription test Create new isLoggedIn variable that returns boolean Replace all instances of userStatus to isLoggedIn Create test for showLoginModal when subscribing |
||
|---|---|---|
| .. | ||
| __stories__ | ||
| __tests__ | ||
| CommentSubscription.jsx | ||
| commentSubscriptionUtilities.jsx | ||
| index.js | ||