Migrate guard in Wizard/State
This commit is contained in:
@@ -126,7 +126,10 @@ export function Provider({
|
||||
const {currentAccount} = useSession()
|
||||
|
||||
const createInitialState = (): State => {
|
||||
if (starterPack && AppBskyGraphStarterpack.isRecord(starterPack.record)) {
|
||||
if (
|
||||
starterPack &&
|
||||
AppBskyGraphStarterpack.isValidRecord(starterPack.record)
|
||||
) {
|
||||
return {
|
||||
canNext: true,
|
||||
currentStep: 'Details',
|
||||
|
||||
Reference in New Issue
Block a user