@bufferapp/analyze-shared-components
Advanced tools
Comparing version 1.57.5 to 1.57.6
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import React, { useEffect } from 'react'; | ||
import moment from 'moment-timezone'; | ||
@@ -26,2 +26,8 @@ import { useQuery } from '@apollo/client'; | ||
useEffect(() => { | ||
if (data) { | ||
save(data); | ||
} | ||
}, [data]); | ||
if (error) { | ||
@@ -43,3 +49,2 @@ // TODO push this into bugsnag | ||
save(data); | ||
return (<React.Fragment> | ||
@@ -46,0 +51,0 @@ {<graphQlProps.content {...props} />} |
{ | ||
"name": "@bufferapp/analyze-shared-components", | ||
"version": "1.57.5", | ||
"version": "1.57.6", | ||
"description": "Shared components for Analyze", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
325847
12581