Skip to content

Commit 73a1971

Browse files
committed
fix ssr
1 parent 4a69d50 commit 73a1971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@react-aria/collections/src/CollectionBuilder.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function useSSRCollectionNode<T extends Element>(CollectionNodeClass: Collection
148148
let element = parentNode.ownerDocument.nodesByProps.get(props);
149149
if (!element) {
150150
element = parentNode.ownerDocument.createElement(CollectionNodeClass.type);
151-
element.setProps(props, ref, rendered, render);
151+
element.setProps(props, ref, rendered, render, CollectionNodeClass);
152152
parentNode.appendChild(element);
153153
parentNode.ownerDocument.updateCollection();
154154
parentNode.ownerDocument.nodesByProps.set(props, element);

0 commit comments

Comments
 (0)