This repository was archived by the owner on Dec 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import { AddPatientModal } from '../AddPatientModal'
2828import { PatientDischargeModal } from '../PatientDischargeModal'
2929import { useRouter } from 'next/router'
3030import { useWardQuery } from '../../mutations/ward_mutations'
31- import { ConfirmDialog } from " @helpwave/common/components/modals/ConfirmDialog" ;
31+ import { ConfirmDialog } from ' @helpwave/common/components/modals/ConfirmDialog'
3232
3333type PatientListTranslation = {
3434 patients : string ,
@@ -140,13 +140,13 @@ export const PatientList = ({
140140 titleText = { translation . deleteConfirmText }
141141 descriptionText = { translation . deleteDescriptionText }
142142 onConfirm = { ( ) => {
143- if ( deletePatient ) {
143+ if ( deletePatient ) {
144144 deletePatientMutation . mutate ( deletePatient . id )
145145 }
146146 setDeletePatient ( undefined )
147147 } }
148148 confirmType = "negative"
149- onBackgroundClick = { ( ) => { setDeletePatient ( undefined ) } }
149+ onBackgroundClick = { ( ) => { setDeletePatient ( undefined ) } }
150150 onCancel = { ( ) => setDeletePatient ( undefined ) }
151151 onCloseClick = { ( ) => setDeletePatient ( undefined ) }
152152 >
You can’t perform that action at this time.
0 commit comments