ActualPage Events and Feed without filters

This commit is contained in:
Aarni Halinen
2020-07-13 16:23:36 +03:00
parent 2f045b462f
commit 41cbcba0ee
12 changed files with 378 additions and 158 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import React from "react";
import "./EventPage.scss";
import { Event } from "@models/Event";
import Button, { ButtonType } from "@components/Button";
import Button from "@components/Button";
import Anchor from "@components/Anchor";
import PageSection from "@components/PageSection";
import MainSection from "@components/MainSection";
@@ -34,7 +34,7 @@ class EventPageView extends React.Component<EventPageViewProps> {
<div className="event-signup-buttons">
{event.signupForm.map(sf => (
<Anchor key={sf.id} to={`/signup/${sf.id}`}>
<Button type={ButtonType.Filled} onClick={() => {}}>
<Button type="filled" onClick={() => {}}>
{sf.title}
</Button>
</Anchor>