Browse Source

Fixed ref warning

Arnaud Vergnet 4 years ago
parent
commit
20cff1aeb1
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/components/Home/SmallDashboardItem.js

+ 1
- 2
src/components/Home/SmallDashboardItem.js View File

@@ -16,7 +16,6 @@ type Props = {
16 16
 };
17 17
 
18 18
 const AnimatableBadge = Animatable.createAnimatableComponent(Badge);
19
-const AnimatableIconButton = Animatable.createAnimatableComponent(IconButton);
20 19
 
21 20
 /**
22 21
  * Component used to render a small dashboard item
@@ -34,7 +33,7 @@ class SmallDashboardItem extends React.Component<Props> {
34 33
         const colors = props.theme.colors;
35 34
         return (
36 35
             <View>
37
-                <AnimatableIconButton
36
+                <IconButton
38 37
                     icon={props.icon}
39 38
                     color={
40 39
                         props.isAvailable

Loading…
Cancel
Save