Skip to content

Commit

Permalink
footer check fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Sep 4, 2024
1 parent 6f0ac9c commit 87960c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic/AtomRepeater.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ export default class AtomRepeater<T = any> extends AtomControl {
start.removeAttribute("data-selected-item");
}
start = start.nextElementSibling as HTMLElement;
if (start.hasAttribute("data-footer")) {
if (start?.hasAttribute("data-footer")) {
break;
}
}
Expand Down

0 comments on commit 87960c9

Please sign in to comment.