hack for pack creation raw
This commit is contained in:
@@ -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]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user