Skip to content

Commit

Permalink
Add flex row to column
Browse files Browse the repository at this point in the history
  • Loading branch information
camilovegag committed Feb 8, 2024
1 parent a8a66bc commit fa7fe66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/berlin/src/pages/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ function AccountForm({
<FlexColumn $gap="0.5rem">
<Label $required>Publications</Label>
{fieldsPublications.map((field, i) => (
<FlexRow key={field.id}>
<FlexRowToColumn key={field.id}>
<Input
placeholder="Add a relevant paper as a URL"
{...register(`userAttributes.publications.${i}.value` as const)}
Expand All @@ -353,7 +353,7 @@ function AccountForm({
$color="secondary"
icon={{ src: `/icons/trash-${theme}.svg`, alt: 'Trash icon' }}
/>
</FlexRow>
</FlexRowToColumn>
))}
<IconButton
onClick={() => insertPublications(fieldsPublications.length, { value: '' })}
Expand All @@ -364,7 +364,7 @@ function AccountForm({
<FlexColumn $gap="0.5rem">
<Label $required>Contributions to MEV</Label>
{fieldsContributions.map((field, i) => (
<FlexRow key={field.id}>
<FlexRowToColumn key={field.id}>
<Input
placeholder="Add an MEV contribution as a URL"
{...register(`userAttributes.contributions.${i}.value` as const)}
Expand All @@ -374,7 +374,7 @@ function AccountForm({
$color="secondary"
icon={{ src: `/icons/trash-${theme}.svg`, alt: 'Trash icon' }}
/>
</FlexRow>
</FlexRowToColumn>
))}
<IconButton
onClick={() => insertContributions(fieldsContributions.length, { value: '' })}
Expand Down

0 comments on commit fa7fe66

Please sign in to comment.