Skip to content

Commit

Permalink
fixing bank account holder name update and stories type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanmtz committed Nov 13, 2024
1 parent 7c7d13b commit 8e715a3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import CheckboxTerms from './checkbox-terms';
import { on } from 'events';

export default {
title: 'Design Library/Molecules/CheckboxTerms',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import React from 'react';
import { Meta, Story } from '@storybook/react';
import Checkboxes from './checkboxes';

export default {
title: 'Design Library/Molecules/Checkboxes',
component: Checkboxes,
} as Meta;
};

const Template = (args) => <Checkboxes {...args} />;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const useStyles = makeStyles(theme => ({


const IssueCard = ({ issue }) => {
console.log('issue', issue)

const classes = useStyles();
const [open, setOpen] = useState(false);

Expand Down Expand Up @@ -108,7 +108,7 @@ const IssueCard = ({ issue }) => {
<Link
href={`${issue.data.url}`}
target='_blank'
class={classes.taskTitle}>
className={classes.taskTitle}>
{issue.data.title}
<img width='24' height='24' style={{ marginLeft: 10 }} src={issue.data.provider === 'github' ? logoGithub : logoBitbucket} />
</Link>
Expand All @@ -120,7 +120,7 @@ const IssueCard = ({ issue }) => {
</Typography>
}
action={
<Typography type='subheading' variant='caption' style={{ padding: 10, color: 'gray', marginRight: 10 }}>
<Typography variant='caption' style={{ padding: 10, color: 'gray', marginRight: 10 }}>
<FormattedMessage id='task.bounties.interested.created' defaultMessage='created' /> {updatedAtTimeString}
</Typography>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const OfferDrawerActions = ({ disabled, onClose }) => {
<Button onClick={onClose} color='primary' style={{marginRight: 10}}>
<FormattedMessage id='task.bounties.actions.cancel' defaultMessage='Cancel' />
</Button>
<Button type='primary' htmlFor='submit' variant='contained' color='primary' disabled={disabled}>
<Button type='button' variant='contained' color='primary' disabled={disabled}>
<FormattedMessage id='task.funding.form.send' defaultMessage='Send Invite' />
</Button>
</div>
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/components/profile/bank-account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ const BankAccount = ({
if (bankAccount.data.account_holder_type) {
setBankAccountType(bankAccount.data.account_holder_type)
}
if (bankAccount.data.account_holder_name) {
setBankAccountHolderName(bankAccount.data.account_holder_name)
}
}, [bankAccount])

return (
Expand Down

0 comments on commit 8e715a3

Please sign in to comment.