move landing to logged out view

This commit is contained in:
Hailey
2024-06-12 10:16:41 -07:00
parent 51b6532f6b
commit 4e84a65b65
4 changed files with 18 additions and 6 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ export const schema = z.object({
usedStarterPack: z
.object({
uri: z.string(),
cid: z.string(),
cid: z.string().optional(),
initialFeed: z.string().optional(),
})
.optional(),
+3 -1
View File
@@ -2,7 +2,9 @@ import React from 'react'
import * as persisted from '#/state/persisted'
type StateContext = {uri: string; cid: string; initialFeed?: string} | undefined
type StateContext =
| {uri: string; cid?: string; initialFeed?: string}
| undefined
type SetContext = (v: StateContext) => void
const stateContext = React.createContext<StateContext>(undefined)