mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-03 11:40:44 +03:00
removed unused lines
This commit is contained in:
parent
57e6d20ecb
commit
f6b6c8e3f0
@ -5,20 +5,10 @@ import get from 'lodash/get';
|
||||
import { injectIntl } from 'react-intl';
|
||||
import { withNavigation } from 'react-navigation';
|
||||
|
||||
// Services and Actions
|
||||
// import { getUser, getUserPoints, claim } from '../providers/esteem/ePoint';
|
||||
// import { openPinCodeModal } from '../redux/actions/applicationActions';
|
||||
import { promote, boost, isPostAvailable } from '../providers/steem/dsteem';
|
||||
import { toastNotification } from '../redux/actions/uiAction';
|
||||
import { searchPath } from '../providers/esteem/esteem';
|
||||
import { getUserDataWithUsername } from '../realm/realm';
|
||||
|
||||
// // Constant
|
||||
// import POINTS from '../constants/options/points';
|
||||
|
||||
// // Constants
|
||||
// import ROUTES from '../constants/routeNames';
|
||||
|
||||
/*
|
||||
* Props Name Description Value
|
||||
*@props --> props name here description here Value Type Here
|
||||
@ -32,20 +22,10 @@ class RedeemContainer extends Component {
|
||||
isLoading: false,
|
||||
isSCModalOpen: false,
|
||||
SCPath: '',
|
||||
navigationParams: {},
|
||||
};
|
||||
}
|
||||
|
||||
// Component Life Cycle Functions
|
||||
componentDidMount() {
|
||||
const { navigation, username } = this.props;
|
||||
|
||||
if (get(navigation, 'state.params', null)) {
|
||||
const navigationParams = get(navigation, 'state.params');
|
||||
|
||||
this.setState({ navigationParams });
|
||||
}
|
||||
}
|
||||
|
||||
// Component Functions
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user