@murasoftware/next-core
Advanced tools
Comparing version 1.0.40 to 1.0.41
@@ -645,5 +645,5 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
React.useEffect(function () { | ||
var obj = Mura('div[data-instanceid="' + instanceid + '"]'); | ||
obj.calculateDisplayObjectStyles(); | ||
Mura(function () { | ||
var obj = Mura('div[data-instanceid="' + instanceid + '"]'); | ||
if (obj.data('async') == 'true' || obj.data('render') == 'server') { | ||
@@ -650,0 +650,0 @@ setTimeout(function () { |
@@ -642,5 +642,5 @@ import React, { useEffect, createContext } from 'react'; | ||
useEffect(function () { | ||
var obj = Mura('div[data-instanceid="' + instanceid + '"]'); | ||
obj.calculateDisplayObjectStyles(); | ||
Mura(function () { | ||
var obj = Mura('div[data-instanceid="' + instanceid + '"]'); | ||
if (obj.data('async') == 'true' || obj.data('render') == 'server') { | ||
@@ -647,0 +647,0 @@ setTimeout(function () { |
{ | ||
"name": "@murasoftware/next-core", | ||
"version": "1.0.40", | ||
"version": "1.0.41", | ||
"description": "Core utilties for Mura.js and Next.js", | ||
@@ -5,0 +5,0 @@ "author": "Mura Software", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
236740
1839