Skip to content

Commit

Permalink
centered small inputs, remove autocomplete, remove payment method
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronknott committed Aug 31, 2023
1 parent 0ca2571 commit f9634ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/refactor/ui/components/Input.tsx
Expand Up @@ -15,6 +15,7 @@ export const Input = ({ label, required, className, ...rest }: InputProps) => (
className={`masa-input ${className ?? ''}`}
{...rest}
id={`masa-input-${label ?? ''}`}
autoComplete="off"
/>
</div>
);
Expand Up @@ -9,7 +9,6 @@ const CreateSoulnameForm = () => {
extension,
paymentMethods,
soulname,
paymentMethod,
handleChangeSoulname,
isLoadingAvailability,
isAvailable,
Expand Down Expand Up @@ -110,15 +109,15 @@ const CreateSoulnameForm = () => {
</div>
<Select
label="Payment asset"
style={{ textAlign: 'center' }}
values={paymentMethods}
onChange={updatePaymentMethod}
readOnly
/>
<Input
style={{ textAlign: 'center' }}
label="Registration price"
value={`${
registrationPrice ? registrationPrice.slice(0, 7) : '-.-'
} ${paymentMethod}`}
value={registrationPrice ? registrationPrice.slice(0, 7) : '-.-'}
readOnly
/>
</div>
Expand Down

0 comments on commit f9634ea

Please sign in to comment.