2019-02-27 01:40:01 +08:00
|
|
|
import React from 'react';
|
|
|
|
import { injectIntl } from 'react-intl';
|
2024-04-25 22:53:56 +08:00
|
|
|
import { useMutation } from '@apollo/client';
|
2019-02-27 01:40:01 +08:00
|
|
|
import ActivityCheck from './component';
|
2024-04-25 22:53:56 +08:00
|
|
|
import { USER_SEND_ACTIVITY_SIGN } from './mutations';
|
2019-02-27 01:40:01 +08:00
|
|
|
|
2024-04-25 22:53:56 +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);
|