From 9be4bd9b557104f74a604594d833ec528000e563 Mon Sep 17 00:00:00 2001 From: GRZ4NA Date: Sun, 3 Oct 2021 16:48:30 +0200 Subject: [PATCH] added 'event' to endpoint location --- src/App.js | 2 +- src/components/EventPreview/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index 083322d..05dab46 100644 --- a/src/App.js +++ b/src/App.js @@ -35,7 +35,7 @@ export const App = (props) => { {Array.isArray(props.events) && props.events.map((e) => { return ( - + ); diff --git a/src/components/EventPreview/index.js b/src/components/EventPreview/index.js index 1df7ce3..1bfda7e 100644 --- a/src/components/EventPreview/index.js +++ b/src/components/EventPreview/index.js @@ -4,7 +4,7 @@ import styles from "./index.module.scss"; export const EventPreview = (props) => { return ( - +
{props.name ?? "Event name"}