Skip to content

Commit

Permalink
Fix prettier errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariel Virgulto committed Feb 13, 2024
1 parent 9af475b commit 1a13c7e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
4 changes: 1 addition & 3 deletions src/views/Patient/MedReqDropDown/MedReqDropDown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,7 @@ function MedReqDropDown({
<div>
<LocalPharmacyIcon fontSize="large" />
<p className="etasuButtonText">Medication: </p>
<p>{pStatus=== 'completed'
? 'Picked Up'
: 'Unknown'}</p>
<p>{pStatus === 'completed' ? 'Picked Up' : 'Unknown'}</p>
</div>
</Button>
{renderTimestamp(checkedPharmacyTime)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,7 @@ const PharmacyStatus = (props: PharmacyStatusProps) => {
<Grid container columns={12}>
<Grid item xs={10}>
<div className="bundle-entry">ID: {props.testEhrResponse?.resource?.id || 'N/A'}</div>
<div className="bundle-entry">
Status:{' '}
{ status === 'completed'
? 'Picked Up'
: 'N/A' }
</div>
<div className="bundle-entry">Status: {status === 'completed' ? 'Picked Up' : 'N/A'}</div>
</Grid>
<Grid item xs={2}>
<div className="bundle-entry">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ describe('Test the PharmacyStatus Component', () => {
expect(
await screen.findByText(`ID: ${testMedicationDispense.resource?.id}`)
).toBeInTheDocument();
expect(
await screen.findByText('Status: Picked Up')
).toBeInTheDocument();
expect(await screen.findByText('Status: Picked Up')).toBeInTheDocument();
});

test('Loads data on start', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,7 @@ export default function RemsInterface(props: RemsInterfaceProps) {
<div className="status-icon" style={{ backgroundColor: colorPis }}></div>
<div className="bundle-entry">ID : {response?.resource?.id || 'N/A'}</div>
<div className="bundle-entry">
Status:{' '}
{ statusPis === 'completed'
? 'Picked Up'
: 'N/A'}
Status: {statusPis === 'completed' ? 'Picked Up' : 'N/A'}
</div>
<div className="bundle-entry">
{/* <Button variant="contained" onClick={this.togglePisBundle}>View Bundle</Button> */}
Expand Down

0 comments on commit 1a13c7e

Please sign in to comment.