This repository was archived by the owner on Nov 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
User's followers and followings list #69
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f89638a
User's follower and followings list
larafa 3b29dd3
fixed db relations issue
larafa 5a02979
updates on follow list
larafa 0babeb7
fixed style and build error
larafa 6805033
fixed merge conflicts
larafa 7981bd7
fixed styling
larafa 2c24b7f
fixed CI build errors
larafa 0ceeadd
removed email file and fixed merging conflicts
larafa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| import React, { Component } from 'react'; | ||
| import '../styles/App.css'; | ||
| import 'animate.css'; | ||
| import { withRouter } from 'react-router-dom'; | ||
| import { ListGroup, ListGroupItem } from 'reactstrap'; | ||
|
|
||
| class FollowList extends Component { | ||
| render() { | ||
| let { follow } = this.props; | ||
| return ( | ||
| <div className="column"> | ||
| {follow.map((follow, index) => { | ||
| return ( | ||
| <ListGroup> | ||
| <ListGroupItem tag="a" href={'/user/' + follow.id} action> | ||
| {follow.nickname != null ? follow.nickname : 'Id: ' + follow.id} | ||
| </ListGroupItem> | ||
| </ListGroup> | ||
| ); | ||
| })} | ||
| </div> | ||
| ); | ||
| } | ||
| } | ||
|
|
||
| export default withRouter(FollowList); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make sure you refactor the places where this function is being called too.
cryptocards/backend/app/Http/Controllers/ProfileController.php
Line 95 in 8fa4742
And here
cryptocards/backend/app/Models/User.php
Line 66 in 8fa4742