Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix default prop for 'value'

Blue Mouseb6640e56d1fd
diff --git a/src/ui/Flatpicker.jsx b/src/ui/Flatpicker.jsx
index 78b6d6033..2b2d1427e 100644
--- a/src/ui/Flatpicker.jsx
+++ b/src/ui/Flatpicker.jsx
@@ -71,7 +71,7 @@ FlatPicker.propTypes = {
FlatPicker.defaultProps = {
onChange: () => { },
- value: PropTypes.array,
+ value: [],
}
export default memo(FlatPicker)