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 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) { } catch (e) {
// TODO add error to state // TODO handle the error here
console.error(e) dispatch({type: 'SetProcessing', processing: false})
} finally {
// dispatch({type: 'SetProcessing', processing: false})
} }
} }
@@ -234,7 +237,11 @@ function WizardInner() {
dispatch({type: 'Back'}) dispatch({type: 'Back'})
} }
}}> }}>
<FontAwesomeIcon size={18} icon="angle-left" /> <FontAwesomeIcon
size={18}
icon="angle-left"
color={t.atoms.text.color}
/>
</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]}>