[ABANDONED] React/Redux front end for the Flexor social network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
723 B

import React, { FC, useEffect } from 'react'
import { useHistory } from 'react-router-dom'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faPlusCircle } from '@fortawesome/free-solid-svg-icons'
import { setTitle } from '../utils'
const UserApps: FC = () => {
const history = useHistory()
useEffect(() => {
setTitle('Your Apps')
}, [])
return (
<div>
<button onClick={() => history.push('/apps/new')}>
<span className="button-icon">
<FontAwesomeIcon icon={faPlusCircle} />
</span>
<span>Create a new App</span>
</button>
</div>
)
}
export default UserApps