Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property 'props' does not exist on type 'AppDOM' #14

Open
Elie-Soued opened this issue Dec 31, 2022 · 1 comment
Open

Property 'props' does not exist on type 'AppDOM' #14

Elie-Soued opened this issue Dec 31, 2022 · 1 comment

Comments

@Elie-Soued
Copy link

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
Copy link

assign me this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants