Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #36

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Develop #36

wants to merge 3 commits into from

Conversation

FaiHamid
Copy link

Copy link

@VenomMB VenomMB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, let's work on improvements now

@@ -0,0 +1,1298 @@
{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't add package-lock json to commit

Comment on lines +39 to +48
getPosts(this.selectedUser.id)
.then(({ data }) => {
this.userPosts = data;
})
.catch(() =>{
this.loadPostError = true;
})
.finally(() => {
this.isLoadingPosts = false;
})
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better use try/catch and await it's more readable


<div class="block" >
<p v-if="!selectedUser">No user selected</p>

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove empty line

Comment on lines +81 to +89


<Errors v-if="loadPostError" />

<div class="notification is-warning" v-if="isPostsShown && !userPosts.length">
No posts yet
</div>


Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove unnecessary empty lines

@@ -0,0 +1,10 @@

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Comment on lines +4 to +5


Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove


import 'bulma/bulma.sass';
import '@fortawesome/fontawesome-free/css/all.css';

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

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

Successfully merging this pull request may close these issues.

2 participants