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!

Fixed incorrect prop-type

Blue Mouse630102175db3
diff --git a/src/ui/Modal.jsx b/src/ui/Modal.jsx
index 28c8ebf18..0a43a06f5 100644
--- a/src/ui/Modal.jsx
+++ b/src/ui/Modal.jsx
@@ -98,7 +98,7 @@ const Modal = ({
}
Modal.propTypes = {
- type: PropTypes.oneOfType(['error', 'success', 'info']),
+ type: PropTypes.oneOf(['error', 'success', 'info']),
title: PropTypes.string.isRequired,
onClose: PropTypes.func.isRequired,
message: PropTypes.string,