Fixed ref warning
This commit is contained in:
parent
96ed75ac72
commit
20cff1aeb1
1 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,6 @@ type Props = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const AnimatableBadge = Animatable.createAnimatableComponent(Badge);
|
const AnimatableBadge = Animatable.createAnimatableComponent(Badge);
|
||||||
const AnimatableIconButton = Animatable.createAnimatableComponent(IconButton);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component used to render a small dashboard item
|
* Component used to render a small dashboard item
|
||||||
|
@ -34,7 +33,7 @@ class SmallDashboardItem extends React.Component<Props> {
|
||||||
const colors = props.theme.colors;
|
const colors = props.theme.colors;
|
||||||
return (
|
return (
|
||||||
<View>
|
<View>
|
||||||
<AnimatableIconButton
|
<IconButton
|
||||||
icon={props.icon}
|
icon={props.icon}
|
||||||
color={
|
color={
|
||||||
props.isAvailable
|
props.isAvailable
|
||||||
|
|
Loading…
Reference in a new issue