Skip to content

Commit 25397c9

Browse files
Merge pull request #29 from glints-dev/feat/index-table-empty-state
index table empty state
2 parents ca3b318 + 6bd10fd commit 25397c9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/forty-rabbits-sip.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'polaris-glints': minor
3+
---
4+
5+
use tr instead of div for empty state

polaris-react/src/components/IndexTable/IndexTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ function IndexTableBase({
662662

663663
const hasRowItems = itemCount > 0;
664664
const emptyTableBody = (
665-
<div className={styles.EmptySearchResultWrapper}>{emptyStateMarkup}</div>
665+
<tr className={styles.EmptySearchResultWrapper}>{emptyStateMarkup}</tr>
666666
);
667667
const bodyMarkup = condensed ? (
668668
<>

0 commit comments

Comments
 (0)