add subscribe button to details drawer

This commit is contained in:
Collin M. Barrett 2019-08-24 17:03:24 -05:00
parent 6c87ed1be9
commit e81fe4fac8

View file

@ -3,6 +3,7 @@ import React from 'react';
import { Description } from '..';
import { List } from '../../interfaces/List';
import { SubscribeButton } from '../buttons';
interface State {
visible: boolean;
@ -32,6 +33,7 @@ export class ListDetails extends React.Component<Props, State> {
visible={this.state.visible}
onClose={() => this.setState({ visible: false, })}>
<Description {...this.props.list} />
<SubscribeButton {...this.props.list} />
</Drawer>
</span>
)