clean unused vars

This commit is contained in:
feruz 2019-12-04 14:54:14 +02:00
parent af452acf44
commit 99b958027b
2 changed files with 1 additions and 14 deletions

View File

@ -1,6 +1,6 @@
import React, { Fragment, useState } from 'react';
import Swiper from 'react-native-swiper';
import { SafeAreaView, Animated, ScrollView, Text } from 'react-native';
import { SafeAreaView, Animated, ScrollView } from 'react-native';
// Containers
import { LoggedInContainer } from '../../../containers';
@ -18,7 +18,6 @@ import styles from './walletScreenStyles';
const HEADER_EXPANDED_HEIGHT = 260;
const HEADER_COLLAPSED_HEIGHT = 20;
const WALLETS = ['ESTM', 'STEEM', 'SBD', 'SP'];
const WalletScreen = () => {
const [selectedUserActivities, setSelectedUserActivities] = useState(null);
@ -26,7 +25,6 @@ const WalletScreen = () => {
const [currentIndex, setCurrentIndex] = useState(0);
const [refreshing, setRefreshing] = useState(false);
const [scrollY] = useState(new Animated.Value(0));
const [isScroll, setScroll] = useState(false);
const _handleSwipeItemChange = (userActivities, _isLoading) => {
setSelectedUserActivities(userActivities);

View File

@ -2,15 +2,10 @@ import EStyleSheet from 'react-native-extended-stylesheet';
import { Dimensions } from 'react-native';
const HEADER_EXPANDED_HEIGHT = 260;
const HEADER_COLLAPSED_HEIGHT = 20;
const { width: SCREEN_WIDTH } = Dimensions.get('screen');
export default EStyleSheet.create({
container: {
flex: 1,
backgroundColor: '#eaeaea',
},
scrollContainer: {
padding: 0,
paddingTop: HEADER_EXPANDED_HEIGHT,
@ -23,10 +18,4 @@ export default EStyleSheet.create({
left: 0,
zIndex: 9999,
},
title: {
marginVertical: 16,
color: 'black',
fontWeight: 'bold',
fontSize: 24,
},
});