I am working on a react app and I have encountered an error which is when the user logged in, the app will push the user to the dashboard, but the dashboard showed nothing even though it has the h1 tag on the jsx (but other pages work perfectly except dashboard). The html of the dashboard showed "You need to enable JavaScript to run this app." . Anyone can help? Thanks in advance and have a nice day :)
dashboard code:
export class Dashboard extends Component {
render() {
return (
<h1>
hello
</h1>
)
}
}
dashboard's html:
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…