diff --git a/.github/workflows/deploy.js.yml b/.github/workflows/deploy.js.yml
index 34ed368770..44bfd75aa3 100644
--- a/.github/workflows/deploy.js.yml
+++ b/.github/workflows/deploy.js.yml
@@ -12,10 +12,10 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- - name: Use Node.js 14.x
+ - name: Use Node.js 18.x
uses: actions/setup-node@v2
with:
- node-version: '14.x'
+ node-version: '18.x'
- name: Installing packages
run: yarn install
- name: Build my App
diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml
index aa5cc290fe..7749606110 100644
--- a/.github/workflows/node.js.yml
+++ b/.github/workflows/node.js.yml
@@ -15,10 +15,10 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- - name: Use Node.js 14.x
+ - name: Use Node.js 18.x
uses: actions/setup-node@v2
with:
- node-version: 14.x
+ node-version: 18.x
- name: Installing packages
run: yarn install
- name: Linting code
diff --git a/next-env.d.ts b/next-env.d.ts
index 7b7aa2c772..4f11a03dc6 100644
--- a/next-env.d.ts
+++ b/next-env.d.ts
@@ -1,2 +1,5 @@
///
-///
+///
+
+// NOTE: This file should not be edited
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/package.json b/package.json
index 790d1546eb..4f99894ae6 100644
--- a/package.json
+++ b/package.json
@@ -22,10 +22,11 @@
"@reduxjs/toolkit": "^1.6.0",
"classnames": "^2.3.1",
"downshift": "^6.1.3",
+ "eslint-config-next": "13",
"figma-js": "^1.13.0",
- "next": "^10.0.0",
- "react": "17.0.1",
- "react-dom": "17.0.1",
+ "next": "13",
+ "react": "^18.2.0",
+ "react-dom": "^18.2.0",
"react-lazy-load-image-component": "^1.5.1",
"react-modal": "^3.13.1",
"react-redux": "^7.2.4",
@@ -67,8 +68,8 @@
"stylelint-prettier": "^1.1.2",
"text-to-svg": "^3.1.5",
"ts-jest": "^27.0.2",
- "ts-node-dev": "^1.1.6",
- "typescript": "^4.2.4"
+ "ts-node-dev": "^2.0.0",
+ "typescript": "^4.5.2"
},
"jest-junit": {
"suiteName": "health-icons",
diff --git a/src/components/TopBar.tsx b/src/components/TopBar.tsx
index 6288f5389f..9e41b687d4 100644
--- a/src/components/TopBar.tsx
+++ b/src/components/TopBar.tsx
@@ -5,23 +5,19 @@ export function TopBar() {
return (