Skip to content

Commit

Permalink
aarons changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendon Kupsch authored and Brendon Kupsch committed Dec 8, 2024
1 parent eb34aec commit 3f5375d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Binary file removed src/.UserProfile.tsx.swp
Binary file not shown.
8 changes: 5 additions & 3 deletions src/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import Select from 'react-select';

const UserProfile: React.FC = () => {
const [isEditing, setIsEditing] = useState(false);
const [firstName, setFirstName] = useState('');
const [lastName, setLastName] = useState('');
const [preferredName, setPreferredName] = useState('');
const [school, setSchool] = useState('');
const [committees, setCommittees] = useState<string[]>([]);
Expand Down Expand Up @@ -77,7 +79,8 @@ const UserProfile: React.FC = () => {
<Navbar />
<h1 className='title'>Your Election Profile</h1>
<div className="profile-form-container">
{isEditing ? (
{isEditing ? (
// Edit State
<form className="profile-form">
<div className="form-group">
<label>Enter your first name: </label>
Expand Down Expand Up @@ -156,5 +159,4 @@ const UserProfile: React.FC = () => {
);
};

export default UserProfile;

export default UserProfile;

0 comments on commit 3f5375d

Please sign in to comment.