Skip to content

Commit 77936ca

Browse files
committed
fix
1 parent d1efa8d commit 77936ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/react-aria-components/src/Table.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ export interface TableHeaderProps<T> extends StyleRenderProps<TableHeaderRenderP
547547
// TODO: will this have any logic? Maybe for ones like this where we aren't adding the filter function just yet we could
548548
// keep it as returning the string instead of the class in createBranchComponent
549549
class TableHeaderNode extends CollectionNode<any> {
550-
static readonly type = 'header';
550+
static readonly type = 'tableheader';
551551

552552
constructor(key: Key) {
553553
super(TableHeaderNode.type, key);
@@ -939,7 +939,7 @@ export interface TableBodyProps<T> extends Omit<CollectionProps<T>, 'disabledKey
939939

940940
// TODO: do we need this
941941
class TableBodyNode extends CollectionNode<any> {
942-
static readonly type = 'header';
942+
static readonly type = 'tablebody';
943943

944944
constructor(key: Key) {
945945
super(TableBodyNode.type, key);

packages/react-aria-components/src/Tree.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ export interface TreeItemProps<T = object> extends StyleRenderProps<TreeItemRend
493493

494494
// TODO: also might be able to reuse the ItemNode
495495
class TreeItemNode extends CollectionNode<any> {
496-
static readonly type = 'content';
496+
static readonly type = 'item';
497497

498498
constructor(key: Key) {
499499
super(TreeItemNode.type, key);
@@ -738,7 +738,7 @@ export interface TreeLoadMoreItemProps extends Omit<LoadMoreSentinelProps, 'coll
738738

739739
// TODO: can reuse this most likely
740740
class TreeLoaderNode extends CollectionNode<any> {
741-
static readonly type = 'content';
741+
static readonly type = 'loader';
742742

743743
constructor(key: Key) {
744744
super(TreeLoaderNode.type, key);

0 commit comments

Comments
 (0)