You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Argument of type 'typeof HistoryView' is not assignable to parameter of type 'CompositeComponent<DefaultChildProps<Props, Data>>'.
Type 'typeof HistoryView' is not assignable to type 'StatelessComponent<DefaultChildProps<Props, Data>>'.
Type 'typeof HistoryView' provides no match for the signature '(props: Props & { data?: QueryProps & Data; mutate?: MutationFunc<Data>; } & { children?: ReactNode; }, context?: any): ReactElement<any>'.
Looks like you only accept stateless components, although opposite seems to be the truth.
Not sure what is going on.
Expected Behavior
I should be able to use React.Components with graphql wrapper.
Example:
Leads to following error:
Looks like you only accept stateless components, although opposite seems to be the truth.
Not sure what is going on.
Version
The text was updated successfully, but these errors were encountered: