Error in React Intermediate - playground app

I am getting this error in when trying to consolidate the counter state in a useReducer:
[
“message”: “Counter’ cannot be used as a JSX component.\n Its type ‘() => JSX.Element’ is not a valid JSX element type.\n Type ‘() => JSX.Element’ is not assignable to type ‘(props: any, deprecatedLegacyContext?: any) => ReactNode’.\n Type ‘Element’ is not assignable to type ‘ReactNode’.\n Property ‘children’ is missing in type ‘Element’ but required in type ‘ReactPortal’.”,

]

}]