Migrate guard in Wizard/State

This commit is contained in:
Eric Bailey
2025-01-03 09:58:30 -06:00
parent dace2a26f1
commit 1f5830f7fe
+4 -1
View File
@@ -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',