Commit 2448b358 authored by Seth A Johnson's avatar Seth A Johnson
Browse files

fix events

parent 0b8691ce
......@@ -3,7 +3,7 @@ import Img from "gatsby-image"
import {Link} from "gatsby"
const EventCard = (props) => {
const {title, date, image} = props.singleNews.frontmatter
const {title, date, image} = props.event.frontmatter
const slug = props.event.fields.slug
return (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment