From 7381f2d6f4c1e4eba4965bee2ac9b4539b2a848b Mon Sep 17 00:00:00 2001 From: jimmyfagan Date: Thu, 26 Dec 2024 15:35:26 -0500 Subject: [PATCH] Edits from self-review --- client/src/components/patientData.tsx | 4 ++-- server/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/patientData.tsx b/client/src/components/patientData.tsx index c4d82c6..7ea625a 100644 --- a/client/src/components/patientData.tsx +++ b/client/src/components/patientData.tsx @@ -48,12 +48,12 @@ export default function PatientData() {

{ header }

- +
{ settingsState.useDefaultDataButton ?
- +
: null } diff --git a/server/index.ts b/server/index.ts index b3464b0..1b81a1a 100644 --- a/server/index.ts +++ b/server/index.ts @@ -113,7 +113,7 @@ function loadDataFile(dataset_name: string, resource_file_name: string): any { try { return JSON.parse(resource); } catch (error) { - console.error("Error parsing JSON:", error); + process.stdout.write("Error parsing JSON:", error); return null } }