@rbxts/app-forge 0.7.2-prototype.31 → 0.7.2-prototype.32
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/out/renders.luau +6 -1
- package/package.json +1 -1
package/out/renders.luau
CHANGED
|
@@ -257,6 +257,9 @@ do
|
|
|
257
257
|
end
|
|
258
258
|
function Renders:initalize(props, target, root)
|
|
259
259
|
if target then
|
|
260
|
+
local Root = function()
|
|
261
|
+
return root
|
|
262
|
+
end
|
|
260
263
|
mount(function()
|
|
261
264
|
if not self.__px then
|
|
262
265
|
local _result = props.config
|
|
@@ -276,7 +279,9 @@ do
|
|
|
276
279
|
end
|
|
277
280
|
local _result
|
|
278
281
|
if root then
|
|
279
|
-
|
|
282
|
+
local _attributes = table.clone(props)
|
|
283
|
+
setmetatable(_attributes, nil)
|
|
284
|
+
_result = (Vide.jsx(Root, nil, Vide.jsx(self.Load, _attributes)))
|
|
280
285
|
else
|
|
281
286
|
local _attributes = table.clone(props)
|
|
282
287
|
setmetatable(_attributes, nil)
|