Skip to content

Commit

Permalink
Merge pull request #8 from NJITBlockchainLab/code-clean
Browse files Browse the repository at this point in the history
remove unused Image
  • Loading branch information
wanggroup2006 authored Jul 12, 2024
2 parents 8525467 + 2d84108 commit c8d9128
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useRef } from 'react'
import { View, StyleSheet, Animated, Image } from 'react-native'
import { View, StyleSheet, Animated } from 'react-native'

import ActivityIndicator from '../../assets/img/activity-indicator-circle.svg'
import { useTheme } from '../../contexts/theme'
Expand Down Expand Up @@ -34,7 +34,7 @@ const LoadingIndicator: React.FC = () => {
return (
<View style={{ alignItems: 'center', justifyContent: 'center' }} testID={testIdWithKey('LoadingActivityIndicator')}>
<Assets.svg.logo style={{ alignSelf: 'center' }} width={150} height={75} />
<Animated.View style={[style.animation, { transform: [{ rotate: rotation } ] }]}>
<Animated.View style={[style.animation, { transform: [{ rotate: rotation }] }]}>
<ActivityIndicator {...imageDisplayOptions} />
</Animated.View>
</View>
Expand Down

0 comments on commit c8d9128

Please sign in to comment.