-
Notifications
You must be signed in to change notification settings - Fork 60
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
Conversation
@tobi-bams Please can you fix the merge conflicts, thanks. |
frontend/app/src/people/widgetViews/summaries/wantedSummaries/CodingBounty.tsx
Outdated
Show resolved
Hide resolved
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.
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); |
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.
not sure why we have this new res var if its not being used
} | ||
|
||
if (localPaid === 'UNPAID') { |
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.
why not do else if here?
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.
Hmmmm, that's true. I can't remember why I did it that way.
But will push an update with my next PR. Thanks
Describe your changes
Issue ticket number and link
Type of change
Please delete options that are not relevant.
Checklist before requesting a review