fix(mobile): resolve EmptyState rendering error in ProposalQueueScreen

Wrap `ListEmptyComponent` with a function to prevent rendering issues.
This commit is contained in:
Adam Moussa 2026-08-17 18:34:29 -04:00
parent 1f797c989e
commit d515a0129d
No known key found for this signature in database

View file

@ -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"