Skip to content

Commit 196adb0

Browse files
authored
Merge pull request #34 from NextStepFinalProject/fix_build_issue
Fixed frontend build issue
2 parents 9004f35 + e9967ee commit 196adb0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/backend-run-all-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
mongodb-version: '6.0'
3535
- uses: actions/setup-node@v4
3636
with:
37-
node-version: 18
37+
node-version: 22.8.0
3838
- name: Install dependencies
3939
run: npm i
4040
- name: Run tests

nextstep-frontend/src/pages/MainDashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ const MainDashboard: React.FC = () => {
11381138
<Button
11391139
variant="contained"
11401140
color="primary"
1141-
onClick={updateUserProfile}
1141+
onClick={() => updateUserProfile()}
11421142
disabled={isSaving}
11431143
sx={{ mt: 2 }}
11441144
>

0 commit comments

Comments
 (0)