{
- refetch();
- discontinuedPrescriptions.refetch();
- }}
- />
- )}
-
+
+
+ Scroll to view more prescriptions
+
+
+ }
+ disableOverlay={
+ loading || !prescriptions?.length || !(prescriptions?.length > 1)
+ }
+ >
+ {loading && }
+ {prescriptions?.length === 0 && }
+
+ {!!prescriptions?.length && (
+ {
+ refetch();
+ discontinuedPrescriptions.refetch();
+ }}
+ />
+ )}
+