react-zoom-pan-pinch 3.0.4 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js
CHANGED
|
@@ -1910,7 +1910,7 @@ var TransformComponent = function (_a) {
|
|
|
1910
1910
|
var useTransformContext = function () {
|
|
1911
1911
|
var libraryContext = React.useContext(Context);
|
|
1912
1912
|
if (!libraryContext) {
|
|
1913
|
-
throw new Error("Transform context
|
|
1913
|
+
throw new Error("Transform context must be placed inside TransformWrapper");
|
|
1914
1914
|
}
|
|
1915
1915
|
return libraryContext;
|
|
1916
1916
|
};
|