Skip to content

Commit

Permalink
fix: removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0trpietruszewski committed Aug 17, 2020
1 parent 5d79cd3 commit 32582cc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions example/src/screens/CardScreen/CardScreen.js
Expand Up @@ -183,14 +183,6 @@ class CardScreen extends React.Component {
</View>
)

renderContent = user => (
<View style={styles.content}>
{user.cards.map((data, i, arr) => (
<QuizCard data={data} num={i} key={data.question} cardsAmount={arr.length} />
))}
</View>
)

stickyHeaderEndReached = () => {
this.setState({
stickyHeaderEndReached: true,
Expand Down Expand Up @@ -223,7 +215,6 @@ class CardScreen extends React.Component {
background={this.renderBackground(user)}
onEndReached={this.stickyHeaderEndReached}
onTopReached={this.stickyHeaderTopReached}>
{/* {this.renderContent(user)} */}
{this.renderFlatlistContent(user)}
</StickyParallaxHeader>
</React.Fragment>
Expand Down

0 comments on commit 32582cc

Please sign in to comment.