This commit is contained in:
Hailey
2024-10-10 12:13:23 -07:00
parent 297f98e364
commit 5644a0a4f1
+5 -2
View File
@@ -34,7 +34,7 @@ export function Inner({control}: {control: Dialog.DialogControlProps}) {
const agent = useAgent()
const t = useTheme()
const {openModal} = useModalControls()
const {gtTablet} = useBreakpoints()
const {gtMobile} = useBreakpoints()
const [currentStep, setCurrentStep] = React.useState<
'StepOne' | 'StepTwo' | 'StepThree'
@@ -153,7 +153,7 @@ export function Inner({control}: {control: Dialog.DialogControlProps}) {
</TextField.Root>
</View>
) : null}
<View style={[a.gap_sm, gtTablet && [a.flex_row_reverse, a.ml_auto]]}>
<View style={[a.gap_sm, gtMobile && [a.flex_row_reverse, a.ml_auto]]}>
{currentStep === 'StepOne' ? (
<>
<Button
@@ -208,6 +208,9 @@ export function Inner({control}: {control: Dialog.DialogControlProps}) {
<ButtonText>
<Trans>Resend Email</Trans>
</ButtonText>
{isProcessing ? (
<Loader size="sm" style={[{color: 'white'}]} />
) : null}
</Button>
</>
) : currentStep === 'StepThree' ? (