datocms-react-ui
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -540,3 +540,4 @@ "use strict"; | ||
(0, react_1.useEffect)(function () { | ||
if (!['renderPage', 'itemFormSidebar'].includes(mode) && !noAutoResizer) { | ||
if (!['renderPage', 'renderItemFormSidebar'].includes(mode) && | ||
!noAutoResizer) { | ||
var ctxWithAutoResizer_1 = ctx; | ||
@@ -543,0 +544,0 @@ ctxWithAutoResizer_1.startAutoResizer(); |
@@ -510,3 +510,4 @@ import React, { createContext, useContext, useEffect } from 'react'; | ||
useEffect(function () { | ||
if (!['renderPage', 'itemFormSidebar'].includes(mode) && !noAutoResizer) { | ||
if (!['renderPage', 'renderItemFormSidebar'].includes(mode) && | ||
!noAutoResizer) { | ||
var ctxWithAutoResizer_1 = ctx; | ||
@@ -513,0 +514,0 @@ ctxWithAutoResizer_1.startAutoResizer(); |
{ | ||
"name": "datocms-react-ui", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "React components to use inside DatoCMS plugins", | ||
@@ -44,3 +44,3 @@ "keywords": [ | ||
"classnames": "^2.3.1", | ||
"datocms-plugin-sdk": "^0.8.0", | ||
"datocms-plugin-sdk": "^0.8.2", | ||
"react-intersection-observer": "^8.31.0", | ||
@@ -61,3 +61,3 @@ "react-select": "^5.2.1", | ||
}, | ||
"gitHead": "abf8273c07ea3d1886bc4bc22ebe18eb924d56b7" | ||
"gitHead": "cd9036995eefda50300a5226e7511ee7f3377cd0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1036632
31025
Updateddatocms-plugin-sdk@^0.8.2