gab-social/app/javascript/gabsocial/pages/deck_page.js
mgabdev 5422c013e1 Updated Gab Deck utils
• Updated:
- Gab Deck utils
2020-12-06 00:14:43 -05:00

25 lines
468 B
JavaScript

import React from 'react'
import PropTypes from 'prop-types'
import PageTitle from '../features/ui/util/page_title'
import DeckLayout from '../layouts/deck_layout'
class DeckPage extends React.PureComponent {
render() {
const { children } = this.props
return (
<DeckLayout>
<PageTitle path='Deck' />
{children}
</DeckLayout>
)
}
}
DeckPage.propTypes = {
children: PropTypes.node.isRequired,
}
export default DeckPage