Property 'props' does not exist on type 'AppDOM'
Opened this issue · 1 comments
Elie-Soued commented
Where is this.props defined in the AppDom class?
class AppDOM extends React.Component<IAppProps> {
public render () {
const {isLoggedIn} = this.props.authInfo;
return (
<div className="App">
<Modal/>
{isLoggedIn ? <Chat/> : <Welcome/>}
</div>
)
};
};
yasharthrai commented
assign me this issue