From 8f866d4820213b0b97fe2c8bb17a72ef62308209 Mon Sep 17 00:00:00 2001 From: Pattadon Date: Mon, 27 Nov 2023 15:41:16 +0700 Subject: [PATCH] Fix typo in setFirstName function --- frontend/src/components/profile/ProfileUpdateComponent.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/profile/ProfileUpdateComponent.jsx b/frontend/src/components/profile/ProfileUpdateComponent.jsx index a38558c..ce3758c 100644 --- a/frontend/src/components/profile/ProfileUpdateComponent.jsx +++ b/frontend/src/components/profile/ProfileUpdateComponent.jsx @@ -102,7 +102,7 @@ export function ProfileUpdateComponent() { placeholder="Enter your first name" className="input w-full" value={firstName} - onChange={(e) => setFullName(e.target.value)} + onChange={(e) => setFirstName(e.target.value)} />