Skip to content

Commit cf67ad0

Browse files
committed
Fix
1 parent 2000604 commit cf67ad0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

web/components/optional-profile-form.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ export const OptionalProfileUserForm = (props: {
5252
setProfile: <K extends keyof ProfileWithoutUser>(key: K, value: ProfileWithoutUser[K]) => void
5353
user: User
5454
buttonLabel?: string
55+
classNameNext?: string
5556
fromSignup?: boolean
56-
bottomBarVisible?: boolean
5757
onSubmit?: () => Promise<void>
5858
}) => {
59-
const {profile, user, buttonLabel, setProfile, fromSignup, onSubmit, bottomBarVisible = true} = props
59+
const {profile, user, buttonLabel, setProfile, fromSignup, onSubmit, classNameNext} = props
6060

6161
const [isSubmitting, setIsSubmitting] = useState(false)
6262
const [lookingRelationship, setLookingRelationship] = useState((profile.pref_relation_styles || []).includes('relationship'))
@@ -817,7 +817,7 @@ export const OptionalProfileUserForm = (props: {
817817

818818
<Row className={'justify-end'}>
819819
<Button
820-
className={`fixed bottom-[calc(${bottomBarVisible ? "90" : "30"}px + var(--bnh))] lg:bottom-6 right-4 sm:right-60 z-50 text-xl`}
820+
className={clsx("fixed bottom-[calc(90px+var(--bnh))] lg:bottom-6 right-4 sm:right-60 z-50 text-xl", classNameNext)}
821821
disabled={isSubmitting}
822822
loading={isSubmitting}
823823
onClick={handleSubmit}

0 commit comments

Comments
 (0)