Skip to content

Commit 03fae8f

Browse files
committed
add container to blocked access table
1 parent aac5356 commit 03fae8f

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

src/components/blocked-pubkeys/components/BlockedPubkeysTable.tsx

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,20 @@ export const BlockedPubkeysTable: React.FC<BlockedPubkeysTableProps> = ({
136136
/>
137137
</div>
138138

139-
<S.TableRoot
140-
dataSource={filteredPubkeys}
141-
columns={columns}
142-
rowKey="pubkey"
143-
loading={loading}
144-
pagination={{
145-
pageSize: 10,
146-
showSizeChanger: true,
147-
showTotal: (total) => `Total: ${total} blocked pubkeys`,
148-
}}
149-
locale={{ emptyText: <S.EmptyList>No blocked pubkeys</S.EmptyList> }}
150-
/>
139+
<S.TableContainer>
140+
<S.TableRoot
141+
dataSource={filteredPubkeys}
142+
columns={columns}
143+
rowKey="pubkey"
144+
loading={loading}
145+
pagination={{
146+
pageSize: 10,
147+
showSizeChanger: true,
148+
showTotal: (total) => `Total: ${total} blocked pubkeys`,
149+
}}
150+
locale={{ emptyText: <S.EmptyList>No blocked pubkeys</S.EmptyList> }}
151+
/>
152+
</S.TableContainer>
151153

152154
<Modal
153155
title="Confirm Unblock"

0 commit comments

Comments
 (0)