From 90f3af27ee5b3a999f3fd2511a4671bc3e18ff45 Mon Sep 17 00:00:00 2001 From: mattyl006 Date: Thu, 14 Jul 2022 14:11:55 +0200 Subject: [PATCH] ul correction in Motivation --- src/components/sections/Motivation.js | 5 +++-- src/pages/Challenge.js | 12 +++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/components/sections/Motivation.js b/src/components/sections/Motivation.js index 51b7336..313fc1e 100644 --- a/src/components/sections/Motivation.js +++ b/src/components/sections/Motivation.js @@ -25,10 +25,11 @@ const Motivation = () => { { content.map((paragraph, index) => { return ( - + - + {paragraph} diff --git a/src/pages/Challenge.js b/src/pages/Challenge.js index 0f3ebdf..9c1423d 100644 --- a/src/pages/Challenge.js +++ b/src/pages/Challenge.js @@ -1,10 +1,16 @@ import React from "react"; +import {FlexColumn} from "../utils/containers"; +import {useParams} from "react-router-dom"; +import {H1} from "../utils/fonts"; const Challenge = () => { + const challengeId = useParams().challengeId; return ( -

- siema -

+ +

+ {challengeId} +

+
); }