react-apollo-hooks
react-apollo-hooks copied to clipboard
TypeError: Object(...) is not a function
SinglePost C:/Users/Aveesh shetty/Desktop/classsed-graphql-server-master/classsed-graphql-server-master/client/src/pages/SinglePost.js:8 5 | import { Button, Icon,Card,Grid,Image,Label } from 'semantic-ui-react'; 6 | import {AuthContext} from '../context/auth'; 7 |
8 | function SinglePost(props){ 9 | const { user } = useContext(AuthContext);
10 | const postId = props.match.params.postId; 11 | console.log(postId)