Skip to content

Commit

Permalink
Merge branch 'develop' into fix-bednumbertest
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 authored Aug 21, 2024
2 parents 529dc1e + 07109a8 commit d09a822
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 287 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,21 @@ jobs:
- name: Checkout 📥
uses: actions/checkout@v3

- name: Set backend branch
id: backend-branch
run: |
if [[ '${{ github.event.pull_request.base.ref }}' == 'staging' ]]; then
echo "branch=staging" >> $GITHUB_OUTPUT
else
echo "branch=develop" >> $GITHUB_OUTPUT
fi
- name: Checkout care 📥
uses: actions/checkout@v3
with:
repository: coronasafe/care
path: care
ref: ${{ steps.backend-branch.outputs.branch }}

- name: Start care docker containers 🐳
run: |
Expand Down
72 changes: 0 additions & 72 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"react-pdf": "^9.0.0",
"react-player": "^2.16.0",
"react-redux": "^8.1.1",
"react-transition-group": "^4.4.5",
"react-webcam": "^7.2.0",
"redux": "^4.2.1",
"redux-thunk": "^2.4.2",
Expand All @@ -98,8 +97,6 @@
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.13",
"@types/cypress": "^1.1.3",
"@types/echarts": "^4.9.22",
"@types/google.maps": "^3.55.8",
"@types/lodash-es": "^4.17.12",
"@types/qrcode.react": "^1.0.5",
Expand All @@ -108,8 +105,6 @@
"@types/react-csv": "^1.1.10",
"@types/react-dom": "^18.3.0",
"@types/react-google-recaptcha": "^2.1.9",
"@types/react-qr-reader": "^2.1.7",
"@types/react-transition-group": "^4.4.10",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@vitejs/plugin-react-swc": "^3.6.0",
"autoprefixer": "^10.4.19",
Expand Down
134 changes: 0 additions & 134 deletions src/Components/Common/Transition.tsx

This file was deleted.

50 changes: 0 additions & 50 deletions src/Components/Common/utils/Tooltip.tsx

This file was deleted.

6 changes: 0 additions & 6 deletions src/Components/Facility/ConsultationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -740,12 +740,6 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => {
patient_no: state.form.patient_no || null,
};

request(id ? routes.updateConsultation : routes.createConsultation, {
pathParams: id ? { id } : undefined,
body: data,
controllerRef: submitController,
});

const { data: obj } = await request(
id ? routes.updateConsultation : routes.createConsultation,
{
Expand Down
Loading

0 comments on commit d09a822

Please sign in to comment.