Skip to content

Commit

Permalink
feat: remove * from contract create
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmagnus committed Jan 24, 2024
1 parent df6e774 commit f46a894
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions frontend/src/components/templates/contracts-create/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export const ContractsCreateTemplate: React.FC<IContractsCreateTemplate> = ({
<form onSubmit={handleSubmit(data => handleForm(data))}>
<Flex flexDir={{ base: 'column', md: 'row' }} gap="1.5rem">
<FormControl isInvalid={errors?.vault !== undefined}>
<FormLabel>Vault*</FormLabel>
<FormLabel>Vault</FormLabel>
<SelectVault
vaults={vaults}
setVault={setVault}
Expand All @@ -172,7 +172,7 @@ export const ContractsCreateTemplate: React.FC<IContractsCreateTemplate> = ({
</FormControl>

<FormControl isInvalid={errors?.asset !== undefined}>
<FormLabel>Asset*</FormLabel>
<FormLabel>Asset</FormLabel>
<SelectAsset
assets={filteredAssets()}
setAsset={setAsset}
Expand All @@ -197,7 +197,7 @@ export const ContractsCreateTemplate: React.FC<IContractsCreateTemplate> = ({
gap="1.5rem"
>
<FormControl isInvalid={errors?.min_deposit !== undefined}>
<FormLabel>Minimum Deposit*</FormLabel>
<FormLabel>Minimum Deposit</FormLabel>
<Input
as={NumericFormat}
decimalScale={7}
Expand All @@ -216,7 +216,7 @@ export const ContractsCreateTemplate: React.FC<IContractsCreateTemplate> = ({
</FormControl>

<FormControl isInvalid={errors?.term !== undefined}>
<FormLabel>Term*</FormLabel>
<FormLabel>Term</FormLabel>
<InputGroup>
<Input
as={NumericFormat}
Expand Down Expand Up @@ -244,7 +244,7 @@ export const ContractsCreateTemplate: React.FC<IContractsCreateTemplate> = ({
>
<FormControl isInvalid={errors?.yield_rate !== undefined}>
<FormLabel display="flex" alignItems="center" gap={2}>
Yield Rate*{' '}
Yield Rate{' '}
<Tooltip label={TooltipsData.yieldRate}>
<HelpIcon width="14px" />
</Tooltip>
Expand All @@ -269,7 +269,7 @@ export const ContractsCreateTemplate: React.FC<IContractsCreateTemplate> = ({

<FormControl isInvalid={errors?.penalty_rate !== undefined}>
<FormLabel display="flex" alignItems="center" gap={2}>
Early Redemption Penalty Rate*
Early Redemption Penalty Rate
<Tooltip label={TooltipsData.penaltyRate}>
<HelpIcon width="14px" />
</Tooltip>
Expand Down Expand Up @@ -309,7 +309,7 @@ export const ContractsCreateTemplate: React.FC<IContractsCreateTemplate> = ({
_dark={{ bg: 'black.600' }}
>
<FormControl w="full">
<FormLabel>Interest type*</FormLabel>
<FormLabel>Interest type</FormLabel>
<SelectCompoundType
compoundType={compoundType}
setCompoundType={setCompoundType}
Expand Down

0 comments on commit f46a894

Please sign in to comment.