bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/activity-check/container.jsx

14 lines
453 B
React
Raw Normal View History

2019-02-27 01:40:01 +08:00
import React from 'react';
import { injectIntl } from 'react-intl';
import { useMutation } from '@apollo/client';
2019-02-27 01:40:01 +08:00
import ActivityCheck from './component';
import { USER_SEND_ACTIVITY_SIGN } from './mutations';
2019-02-27 01:40:01 +08:00
const ActivityCheckContainer = (props) => {
const [userActivitySign] = useMutation(USER_SEND_ACTIVITY_SIGN);
return <ActivityCheck userActivitySign={userActivitySign} {...props} />;
};
2019-02-27 01:40:01 +08:00
export default injectIntl(ActivityCheckContainer);