@ligangyan/react-pdf
Advanced tools
Comparing version 9.1.5-SNAPSHOT to 9.1.6
@@ -321,5 +321,5 @@ "use strict"; | ||
// console.log('highlight:', highlight); | ||
(0, react_1.useEffect)(() => { | ||
console.log('highlight in useEffect:', highlight); | ||
}, [highlight]); | ||
// useEffect(() => { | ||
// console.log('highlight in useEffect:', highlight); | ||
// }, [highlight]); | ||
const eventProps = (0, react_1.useMemo)(() => (0, make_event_props_1.default)(otherProps, () => pdf), | ||
@@ -326,0 +326,0 @@ // biome-ignore lint/correctness/useExhaustiveDependencies: FIXME |
@@ -293,5 +293,5 @@ 'use client'; | ||
// console.log('highlight:', highlight); | ||
useEffect(() => { | ||
console.log('highlight in useEffect:', highlight); | ||
}, [highlight]); | ||
// useEffect(() => { | ||
// console.log('highlight in useEffect:', highlight); | ||
// }, [highlight]); | ||
const eventProps = useMemo(() => makeEventProps(otherProps, () => pdf), | ||
@@ -298,0 +298,0 @@ // biome-ignore lint/correctness/useExhaustiveDependencies: FIXME |
{ | ||
"name": "@ligangyan/react-pdf", | ||
"version": "9.1.5-SNAPSHOT", | ||
"version": "9.1.6", | ||
"description": "Display PDFs in your React app as easily as if they were images.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1