Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

fix(RefreshButton): wrong type of websiteId

Alexander Klein002ac397f1bb
diff --git a/components/common/RefreshButton.js b/components/common/RefreshButton.js
index 53f68a84d..a28575228 100644
--- a/components/common/RefreshButton.js
+++ b/components/common/RefreshButton.js
@@ -38,7 +38,7 @@ function RefreshButton({ websiteId }) {
}
RefreshButton.propTypes = {
- websiteId: PropTypes.number,
+ websiteId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
export default RefreshButton;