land on the correct feed

This commit is contained in:
Hailey
2024-06-10 13:01:13 -07:00
parent 402d65ab42
commit 179c7829a9
4 changed files with 28 additions and 4 deletions
+1
View File
@@ -92,6 +92,7 @@ export const schema = z.object({
.object({
uri: z.string(),
cid: z.string(),
initialFeed: z.string().optional(),
})
.optional(),
})
+1 -1
View File
@@ -2,7 +2,7 @@ import React from 'react'
import * as persisted from '#/state/persisted'
type StateContext = {uri: string; cid: string} | undefined
type StateContext = {uri: string; cid: string; initialFeed?: string} | undefined
type SetContext = (v: StateContext) => void
const stateContext = React.createContext<StateContext>(undefined)