React Hook "React.useState" is called in function "placeItem" which is neither a React function component or a custom React Hook function react-hooks/rules-of-hooks
answer :- function name must be start with capital letter
//Try to capitalize 'app' like
const App = props => {...}
export default App;
export default App
makes sure the react functional component name starts with a capital letter