import React from 'react' import { Link } from 'react-router-dom' import _ from 'lodash' import useAuth from '@wasp/auth/useAuth.js' import getTags from '@wasp/queries/getTags' import getFollowedArticles from '@wasp/queries/getFollowedArticles' import getAllArticles from '@wasp/queries/getAllArticles' import { useQuery } from '@wasp/queries' import Navbar from './Navbar' import ArticleList from './ArticleList' const MainPage = () => { const { data: me } = useAuth() const { data: followedArticles } = useQuery(getFollowedArticles) const { data: allArticles } = useQuery(getAllArticles) return (