tweaks
This commit is contained in:
@@ -34,7 +34,7 @@ export function Inner({control}: {control: Dialog.DialogControlProps}) {
|
|||||||
const agent = useAgent()
|
const agent = useAgent()
|
||||||
const t = useTheme()
|
const t = useTheme()
|
||||||
const {openModal} = useModalControls()
|
const {openModal} = useModalControls()
|
||||||
const {gtTablet} = useBreakpoints()
|
const {gtMobile} = useBreakpoints()
|
||||||
|
|
||||||
const [currentStep, setCurrentStep] = React.useState<
|
const [currentStep, setCurrentStep] = React.useState<
|
||||||
'StepOne' | 'StepTwo' | 'StepThree'
|
'StepOne' | 'StepTwo' | 'StepThree'
|
||||||
@@ -153,7 +153,7 @@ export function Inner({control}: {control: Dialog.DialogControlProps}) {
|
|||||||
</TextField.Root>
|
</TextField.Root>
|
||||||
</View>
|
</View>
|
||||||
) : null}
|
) : 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' ? (
|
{currentStep === 'StepOne' ? (
|
||||||
<>
|
<>
|
||||||
<Button
|
<Button
|
||||||
@@ -208,6 +208,9 @@ export function Inner({control}: {control: Dialog.DialogControlProps}) {
|
|||||||
<ButtonText>
|
<ButtonText>
|
||||||
<Trans>Resend Email</Trans>
|
<Trans>Resend Email</Trans>
|
||||||
</ButtonText>
|
</ButtonText>
|
||||||
|
{isProcessing ? (
|
||||||
|
<Loader size="sm" style={[{color: 'white'}]} />
|
||||||
|
) : null}
|
||||||
</Button>
|
</Button>
|
||||||
</>
|
</>
|
||||||
) : currentStep === 'StepThree' ? (
|
) : currentStep === 'StepThree' ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user