nit
This commit is contained in:
@@ -206,8 +206,7 @@ function WizardInner({
|
|||||||
subtitle: _(msg`Some subtitle`),
|
subtitle: _(msg`Some subtitle`),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
const currUiStrings = wizardUiStrings[state.currentStep]
|
||||||
const uiStrings = wizardUiStrings[state.currentStep]
|
|
||||||
|
|
||||||
const invalidateQueries = async () => {
|
const invalidateQueries = async () => {
|
||||||
if (!did || !rkey) return
|
if (!did || !rkey) return
|
||||||
@@ -436,7 +435,7 @@ function WizardInner({
|
|||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
<Text style={[a.flex_1, a.font_bold, a.text_lg, a.text_center]}>
|
<Text style={[a.flex_1, a.font_bold, a.text_lg, a.text_center]}>
|
||||||
{uiStrings.header}
|
{currUiStrings.header}
|
||||||
</Text>
|
</Text>
|
||||||
<View style={[{width: 65}]} />
|
<View style={[{width: 65}]} />
|
||||||
</View>
|
</View>
|
||||||
@@ -448,7 +447,7 @@ function WizardInner({
|
|||||||
</Container>
|
</Container>
|
||||||
|
|
||||||
{state.currentStep !== 'Details' && (
|
{state.currentStep !== 'Details' && (
|
||||||
<Footer onNext={onNext} nextBtnText={uiStrings.nextBtn} />
|
<Footer onNext={onNext} nextBtnText={currUiStrings.nextBtn} />
|
||||||
)}
|
)}
|
||||||
</CenteredView>
|
</CenteredView>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user