mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-10-06 21:42:01 +00:00
fix(mobile): resolve EmptyState rendering error in ProposalQueueScreen
Wrap `ListEmptyComponent` with a function to prevent rendering issues.
This commit is contained in:
parent
ce3c599a5a
commit
9ebfda9a68
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ export function ProposalQueueScreen() {
|
|||
<RefreshControl refreshing={refreshing} onRefresh={reload} />
|
||||
}
|
||||
contentContainerStyle={rows.length === 0 ? styles.empty : styles.list}
|
||||
ListEmptyComponent={
|
||||
ListEmptyComponent={() =>
|
||||
!loading ? (
|
||||
<EmptyState
|
||||
icon="file-search-outline"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue