Skip to content

Commit

Permalink
Edits from self-review
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyfagan committed Dec 26, 2024
1 parent 49a2cdc commit 7381f2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/src/components/patientData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ export default function PatientData() {
<h4>{ header }</h4>
</div>
<div className='ds-u-margin-top--2'>
<Button id="auth_btn" variation="primary" onClick={goAuthorize}>Authorize</Button>
<Button id="auth_btn" variation="solid" onClick={goAuthorize}>Authorize</Button>
</div>
{
settingsState.useDefaultDataButton ?
<div className='ds-u-margin-top--2'>
<Button id="load_defaults_btn" variation="primary" onClick={goLoadDefaults}>Load default data</Button>
<Button id="load_defaults_btn" variation="solid" onClick={goLoadDefaults}>Load default data</Button>
</div> :
null
}
Expand Down
2 changes: 1 addition & 1 deletion server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 7381f2d

Please sign in to comment.