Skip to content

Commit

Permalink
fix: remove tables
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-murphy committed Jul 16, 2024
1 parent 802975f commit 38fef3e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/ContentPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faBook } from '@fortawesome/free-solid-svg-icons';
import { useSelector } from 'react-redux';
import { selectUser } from '../store/slice/appState';
import { usePublicationContext } from '../utils/PublicationsContext.tsx';
import { PublicationsTable } from './PublicationsTable.tsx';
import { AddPublicationModal } from './AddPublicationModal.tsx';
import { YearChart } from './YearChart.tsx';

export function ContentPage() {
const { pubs } = usePublicationContext();
const user = useSelector(selectUser);

return (
Expand All @@ -28,12 +25,11 @@ export function ContentPage() {
<PublicationsTable />

{/* TODO: Word Cloud #58 */}
<h2 className="title pt-4 m-4 is-2 text-center">What are these publications all about?</h2>
{/*<h2 className="title pt-4 m-4 is-2 text-center">What are these publications all about?</h2>*/}
{/*<div className="viz d-flex justify-content-center pt-5">*/}
{/* <WordCloud />*/}
<YearChart />
{/*<YearChart />*/}
{/*</div>*/}
{pubs.length !== 0 && <></>}
</div>
);
}

0 comments on commit 38fef3e

Please sign in to comment.