@hoddy-ui/core 2.5.27 → 2.5.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -93,7 +93,7 @@ const FlashMessage: React.FC = () => {
|
|
|
93
93
|
}
|
|
94
94
|
unsubscribe();
|
|
95
95
|
};
|
|
96
|
-
}, [
|
|
96
|
+
}, []);
|
|
97
97
|
|
|
98
98
|
const animatedStyle = useAnimatedStyle(() => {
|
|
99
99
|
return {
|
|
@@ -128,7 +128,7 @@ const FlashMessage: React.FC = () => {
|
|
|
128
128
|
},
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
|
|
131
|
+
if (!message) return null;
|
|
132
132
|
|
|
133
133
|
return (
|
|
134
134
|
<Animated.View style={[styles.root, animatedStyle]}>
|