-
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Settings page: Fix "Available payout" loading bug and update "Edit pa…
…yout" link (#4048)
- Loading branch information
1 parent
00fe140
commit d928a8f
Showing
5 changed files
with
53 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 14 additions & 8 deletions
22
...ents/v2v3/V2V3Project/V2V3ProjectSettings/pages/NewEditCyclePage/EditCycleFormSection.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
import React, { forwardRef, ReactNode } from 'react' | ||
import { EditCycleHeader } from './EditCycleHeader' | ||
|
||
export function EditCycleFormSection({ | ||
title, | ||
description, | ||
children, | ||
className, | ||
}: { | ||
interface EditCycleFormSectionProps { | ||
title: JSX.Element | ||
description: JSX.Element | ||
children: React.ReactNode | ||
children: ReactNode | ||
className?: string | ||
}) { | ||
} | ||
|
||
function EditCycleFormSection( | ||
{ title, description, children, className }: EditCycleFormSectionProps, | ||
ref: React.Ref<HTMLDivElement>, | ||
) { | ||
return ( | ||
<section | ||
ref={ref} | ||
className={`grid gap-8 border-b border-b-grey-300 pt-6 pb-16 dark:border-b-grey-600 md:grid-cols-[280px_1fr] ${className}`} | ||
> | ||
<EditCycleHeader title={title} description={description} /> | ||
<div className="flex flex-col gap-8">{children}</div> | ||
</section> | ||
) | ||
} | ||
|
||
export default forwardRef<HTMLDivElement, EditCycleFormSectionProps>( | ||
EditCycleFormSection, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d928a8f
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.
Successfully deployed to the following URLs:
juice-interface-goerli – ./
juice-interface-goerli-peel.vercel.app
juice-interface-goerli.vercel.app
juice-interface-goerli-git-main-peel.vercel.app
goerli.juicebox.money