Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Commit 66dff79

Browse files
author
Florian Sabonchi
committed
fix: formatting
1 parent 4a30e06 commit 66dff79

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tasks/components/layout/PatientList.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { AddPatientModal } from '../AddPatientModal'
2828
import { PatientDischargeModal } from '../PatientDischargeModal'
2929
import { useRouter } from 'next/router'
3030
import { useWardQuery } from '../../mutations/ward_mutations'
31-
import {ConfirmDialog} from "@helpwave/common/components/modals/ConfirmDialog";
31+
import { ConfirmDialog } from '@helpwave/common/components/modals/ConfirmDialog'
3232

3333
type 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
>

0 commit comments

Comments
 (0)