This commit is contained in:
Hailey
2024-06-17 09:32:51 -07:00
parent 9a8fd5c608
commit b4093961de
+3 -4
View File
@@ -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>
) )