land on the correct feed
This commit is contained in:
@@ -92,6 +92,7 @@ export const schema = z.object({
|
||||
.object({
|
||||
uri: z.string(),
|
||||
cid: z.string(),
|
||||
initialFeed: z.string().optional(),
|
||||
})
|
||||
.optional(),
|
||||
})
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user