improvement: loading state added to buttons who interact with backend.
This commit is contained in:
@@ -38,7 +38,7 @@ interface TaskRowProps {
|
||||
onStatusUpdate: (taskId: string, status: LabTaskStatus) => void;
|
||||
onToggleComments: (taskId: string) => void;
|
||||
onCommentError: (message: string) => void;
|
||||
onShowInCase?: (task: LabTaskListItem) => void;
|
||||
onShowInCase?: (task: LabTaskListItem) => void | Promise<void>;
|
||||
}
|
||||
|
||||
function formatPatientName(patient: { firstName: string; lastName: string }) {
|
||||
|
||||
Reference in New Issue
Block a user