diff --git a/src/components/TaskHeaderActionButton.js b/src/components/TaskHeaderActionButton.js deleted file mode 100644 index 09ca427b8e56..000000000000 --- a/src/components/TaskHeaderActionButton.js +++ /dev/null @@ -1,60 +0,0 @@ -import PropTypes from 'prop-types'; -import React from 'react'; -import {View} from 'react-native'; -import {withOnyx} from 'react-native-onyx'; -import compose from '@libs/compose'; -import * as ReportUtils from '@libs/ReportUtils'; -import reportPropTypes from '@pages/reportPropTypes'; -import useThemeStyles from '@styles/useThemeStyles'; -import * as Session from '@userActions/Session'; -import * as Task from '@userActions/Task'; -import ONYXKEYS from '@src/ONYXKEYS'; -import Button from './Button'; -import withLocalize, {withLocalizePropTypes} from './withLocalize'; - -const propTypes = { - /** The report currently being looked at */ - report: reportPropTypes.isRequired, - - /** Current user session */ - session: PropTypes.shape({ - accountID: PropTypes.number, - }), - - ...withLocalizePropTypes, -}; - -const defaultProps = { - session: { - accountID: 0, - }, -}; - -function TaskHeaderActionButton(props) { - const styles = useThemeStyles(); - return ( - -