move landing to logged out view
This commit is contained in:
@@ -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(),
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user