Skip to content
Snippets Groups Projects
Unverified Commit 586a2696 authored by Joel Jeremy Marquez's avatar Joel Jeremy Marquez Committed by GitHub
Browse files

Force async onRefresh on PullToRefresh component (#2487)

* Force async onRefresh

* Release notes
parent 107acdb3
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,10 @@ export function PullToRefresh(props: PullToRefreshProps) {
}),
)}
{...props}
// Force async because the library errors out when a sync onRefresh method is provided.
onRefresh={async () => {
await props.onRefresh?.();
}}
/>
</div>
);
......
---
category: Bugfix
authors: [joel-jeremy]
---
Fix mobile accounts page pull to refresh functionality
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment