whats wrong in this react code? showing error Module not found: Can't resolve 'react ' in 'C:\Users\hp\weather\src\components'..
import {useEffect} from 'react '; import {Box, TextField, Button, makeStyles} from '@material-ui/core'; import {getData} from '../service/api.js'; const useStyles= makeStyles({ component:{ padding:20, backgroundColor:'rgba(255, 120, 205,0.2)' }, input:{ color:'blue', marginRight:15, marginLeft:15, }, button:{ width:100, height:40, marginLeft:10, marginTop:5, backgroundColor:'rgba(173, 14, 88,0.3)' } }) const Form= ()=> { const classes=useStyles(); useEffect(()=>{ getData(),then(data =>{ console.log(data) }) },[]); return ( <Box className={classes.component}> <TextField id="standard-basic" label="Enter Your City" inputProps={{className:classes.input}} className={classes.input} /> <TextField id="standard-basic" label="Enter Your Country" inputProps={{className:classes.input}} /> <Button variant="outlined" className={classes.button} >Search</Button> </Box> ) } export default Form;