Archived
1
0

Prettified Code!

This commit is contained in:
snyk-bot
2020-05-02 08:17:53 +00:00
committed by GitHub Action
parent 17e8581161
commit 08821f1732
2 changed files with 2 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
import React from "react"
export default props => <h1 align="center">{props.headline}</h1>
export default (props) => <h1 align="center">{props.headline}</h1>

View File

@@ -1,6 +1,6 @@
import React from "react"
export default props => (
export default (props) => (
<div id={props.title}>
<h1>{props.title}</h1>
<p>{props.text}</p>