Browse Source

update with new prettier rules

master
Jørgen Lien Sellæg 6 years ago
parent
commit
7f070194fe
  1. 3
      src/Events.js
  2. 1
      src/index.js

3
src/Events.js

@ -4,7 +4,7 @@ const endpoint = 'https://kultar.sout.no/events/'
const fetch_options = {} const fetch_options = {}
function Link(props) { function Link(props) {
return <a {...props} target="_blank" rel="noopener noreferrer" />; return <a {...props} target="_blank" rel="noopener noreferrer" />
} }
function Facebook({ event_id }) { function Facebook({ event_id }) {
@ -61,7 +61,6 @@ function Location({ location }) {
return '' return ''
} }
function Links({ event_id, ticket_url }) { function Links({ event_id, ticket_url }) {
if (ticket_url !== null) { if (ticket_url !== null) {
return ( return (

1
src/index.js

@ -1,7 +1,6 @@
import Events from './Events.js' import Events from './Events.js'
import './style.css' import './style.css'
export default function App() { export default function App() {
return <Events /> return <Events />
} }

Loading…
Cancel
Save