mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 06:33: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} />
|
<RefreshControl refreshing={refreshing} onRefresh={reload} />
|
||||||
}
|
}
|
||||||
contentContainerStyle={rows.length === 0 ? styles.empty : styles.list}
|
contentContainerStyle={rows.length === 0 ? styles.empty : styles.list}
|
||||||
ListEmptyComponent={
|
ListEmptyComponent={() =>
|
||||||
!loading ? (
|
!loading ? (
|
||||||
<EmptyState
|
<EmptyState
|
||||||
icon="file-search-outline"
|
icon="file-search-outline"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue