File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/components/progress-indicators Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,6 @@ export default [
217217 'src/components/progress-indicators/LoadingSplashScreen.tsx' ,
218218 'src/components/progress-indicators/Shimmer.tsx' ,
219219 'src/components/progress-indicators/StepProgressBar.tsx' ,
220- 'src/components/progress-indicators/WalletSyncCircle.tsx' ,
221220 'src/components/rows/CoinRankRow.tsx' ,
222221 'src/components/rows/CryptoFiatAmountRow.tsx' ,
223222 'src/components/rows/CurrencyRow.tsx' ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ interface Props {
2727/**
2828 * Renders the sync progress ratio as part of the `CryptoIcon` component.
2929 */
30- export const WalletSyncCircle = ( props : Props ) => {
30+ export const WalletSyncCircle : React . FC < Props > = props => {
3131 const theme = useTheme ( )
3232 const { size = theme . rem ( 2 ) , wallet } = props
3333 // Animation shared state
@@ -37,7 +37,7 @@ export const WalletSyncCircle = (props: Props) => {
3737
3838 // Subscribe to the sync ratio:
3939 React . useEffect ( ( ) => {
40- const handler = ( ratio : number ) => {
40+ const handler = ( ratio : number ) : void => {
4141 if ( ratio < RESYNC_THRESHOLD ) {
4242 // Do not animate backwards if a resync happens after the sync is done:
4343 if ( syncRatio . value > DONE_THRESHOLD ) {
You can’t perform that action at this time.
0 commit comments