From abf33b8f474f2303c3058fbe1aa2c09d65aa079f Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sat, 20 Apr 2024 01:40:41 +0100 Subject: [PATCH] Update profile form --- .../Navigation/AccountDropdownList.tsx | 1 - .../UpdateProfile/ProfileUsername.tsx | 71 ++++++++--- .../UpdateProfile/UpdateProfileForm.tsx | 6 +- .../UpdateProfile/UpdatePublicProfileForm.tsx | 116 ++++++++++++++---- src/pages/account/update-profile.astro | 2 - 5 files changed, 153 insertions(+), 43 deletions(-) diff --git a/src/components/Navigation/AccountDropdownList.tsx b/src/components/Navigation/AccountDropdownList.tsx index d0d9b55ce..562c096c9 100644 --- a/src/components/Navigation/AccountDropdownList.tsx +++ b/src/components/Navigation/AccountDropdownList.tsx @@ -18,7 +18,6 @@ type AccountDropdownListProps = { export function AccountDropdownList(props: AccountDropdownListProps) { const { setIsTeamsOpen, onCreateRoadmap } = props; - const [isCreatingRoadmap, setIsCreatingRoadmap] = useState(false); return (