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

Fix/bounty paid state #819

Merged
merged 10 commits into from
Oct 19, 2023
Merged

Fix/bounty paid state #819

merged 10 commits into from
Oct 19, 2023

Conversation

tobi-bams
Copy link
Contributor

Describe your changes

Issue ticket number and link

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist before requesting a review

  • I have performed a self-review of my code

@elraphty
Copy link
Contributor

@tobi-bams Please can you fix the merge conflicts, thanks.

Copy link
Contributor

@kevkevinpal kevkevinpal left a comment

Choose a reason for hiding this comment

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

just small comments but code review looks good to me, did not manually test though

@@ -247,7 +247,7 @@ function FocusedView(props: FocusViewProps) {
let newBody = cloneDeep(body);

if (config && config.name === 'about') {
await main.saveProfile(newBody);
const res = await main.saveProfile(newBody);
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure why we have this new res var if its not being used

Comment on lines +111 to +113
}

if (localPaid === 'UNPAID') {
Copy link
Contributor

Choose a reason for hiding this comment

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

why not do else if here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmmmm, that's true. I can't remember why I did it that way.

But will push an update with my next PR. Thanks

@elraphty elraphty merged commit 54a513c into master Oct 19, 2023
4 checks passed
elraphty added a commit that referenced this pull request Jan 26, 2024
@Evanfeenstra Evanfeenstra deleted the fix/bounty-paid-state branch January 26, 2024 17:54
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.

Make "Mark as paid" instant Make bounties in profile match bounties in the home page
3 participants