@@ -24,7 +24,7 @@ export const AsyncPrototype: AsyncPrototype = Object.freeze({
|
||||
const Inner = (props: { readonly [PromiseTypeId]: Promise<React.ReactNode> }) => React.use(props[PromiseTypeId])
|
||||
Inner.displayName = `${ this.displayName }Inner`
|
||||
|
||||
return (props: {}) => {
|
||||
return (props: P) => {
|
||||
const promise = Runtime.runPromise(runtimeRef.current)(
|
||||
Effect.andThen(
|
||||
Component.useScope([], this),
|
||||
|
||||
Reference in New Issue
Block a user