hack for pack creation raw

This commit is contained in:
Hailey
2024-06-07 12:28:08 -07:00
parent a6f29f1835
commit e98317d857
+13 -6
View File
@@ -173,12 +173,15 @@ function WizardInner() {
)
const rkey = new AtUri(res.uri).rkey
navigation.replace('StarterPack', {name: currentAccount!.did, rkey})
// TODO hack?
setTimeout(() => {
navigation.replace('StarterPack', {name: currentAccount!.handle, rkey})
dispatch({type: 'SetProcessing', processing: false})
}, 1000)
} catch (e) {
// TODO add error to state
console.error(e)
} finally {
// dispatch({type: 'SetProcessing', processing: false})
// TODO handle the error here
dispatch({type: 'SetProcessing', processing: false})
}
}
@@ -234,7 +237,11 @@ function WizardInner() {
dispatch({type: 'Back'})
}
}}>
<FontAwesomeIcon size={18} icon="angle-left" />
<FontAwesomeIcon
size={18}
icon="angle-left"
color={t.atoms.text.color}
/>
</TouchableOpacity>
</View>
<Text style={[a.flex_1, a.font_bold, a.text_lg, a.text_center]}>