Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
chore: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
hetd54 committed Jul 15, 2024
1 parent df48824 commit 99fd58f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/Publications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ interface PubProps {
}

const PublicationSection: React.FC<PubProps> = ({ publications }) => {
//console.log(publications)
const classificationOptions = [
{ value: "Book", label: "Books" },
{
Expand Down Expand Up @@ -41,7 +40,6 @@ const PublicationSection: React.FC<PubProps> = ({ publications }) => {
classificationFilter.value.includes(pub.classification) &&
pub.citation.toLowerCase().includes(searchInput.toLowerCase())
)
console.log(shownPubs)

const categoryByYear: Record<string, InferEntrySchema<"publications">[]> = shownPubs.reduce(
(pub, i) => {
Expand All @@ -55,7 +53,7 @@ const PublicationSection: React.FC<PubProps> = ({ publications }) => {
const pubsByYear = Object.entries(categoryByYear).sort(
(a, b) => new Date(b[0]).getTime() - new Date(a[0]).getTime()
)
console.log(pubsByYear)

return (
<>
<section className="flex flex-col gap-6">
Expand Down

0 comments on commit 99fd58f

Please sign in to comment.