Skip to content

Commit

Permalink
Update copypasta error message.
Browse files Browse the repository at this point in the history
Co-authored-by: Ruslan Lesiutin <rdlesyutin@gmail.com>
  • Loading branch information
sebmarkbage and hoxyq authored Aug 14, 2024
1 parent 4d1de50 commit f4e101b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2339,7 +2339,7 @@ export function attach(
'Remaining children should not have items with no parent',
);
} else if (instance.nextSibling !== null) {
throw new Error('A deleted instance should not have previous siblings');
throw new Error('A deleted instance should not have next siblings');
} else if (instance.previousSibling !== null) {
throw new Error('A deleted instance should not have previous siblings');
}
Expand Down

0 comments on commit f4e101b

Please sign in to comment.