mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 03:03:13 +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
1f797c989e
commit
d515a0129d
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