Skip to content

Commit 29ffb49

Browse files
committed
Fix introversion
1 parent c485d7e commit 29ffb49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/complete-profile/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,15 +754,15 @@ function RegisterComponent() {
754754

755755
<div>
756756
<label htmlFor="introversion" className={headingStyle}>
757-
Introversion - Extroversion
757+
Introversion (0) - Extroversion (100)
758758
</label>
759759
<input
760760
id="introversion"
761761
name="introversion"
762762
type="number"
763763
min="0"
764764
max="100"
765-
value={introversion ?? ''}
765+
value={introversion ? 100 - introversion : ''}
766766
onChange={(e) => setIntroversion(100 - Number(e.target.value))}
767767
className="appearance-none rounded-md relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 focus:z-10 sm:text-sm"
768768
// placeholder=""

0 commit comments

Comments
 (0)