2021-09-16 16:46:04 -07:00
|
|
|
import PropTypes from 'prop-types';
|
2022-01-10 14:17:52 -08:00
|
|
|
import React from 'react';
|
2022-01-10 14:25:06 -08:00
|
|
|
|
2021-09-16 16:46:04 -07:00
|
|
|
import Column from 'soapbox/features/ui/components/column';
|
2022-01-10 14:25:06 -08:00
|
|
|
|
2021-09-18 15:05:34 -07:00
|
|
|
import FollowRecommendationsContainer from './components/follow_recommendations_container';
|
2021-09-16 16:46:04 -07:00
|
|
|
|
2021-09-17 14:03:17 -07:00
|
|
|
export default class FollowRecommendations extends React.Component {
|
2021-09-16 16:46:04 -07:00
|
|
|
|
|
|
|
static contextTypes = {
|
|
|
|
router: PropTypes.object.isRequired,
|
|
|
|
};
|
|
|
|
|
2021-09-18 15:05:34 -07:00
|
|
|
onDone = () => {
|
2021-09-16 16:46:04 -07:00
|
|
|
const { router } = this.context;
|
|
|
|
|
|
|
|
router.history.push('/');
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<Column>
|
2021-09-18 15:05:34 -07:00
|
|
|
<FollowRecommendationsContainer onDone={this.onDone} />
|
2021-09-16 16:46:04 -07:00
|
|
|
</Column>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|