Skip to content

Commit c987071

Browse files
committed
Remove completed todo messages
1 parent e58d99c commit c987071

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

apps/frontend/src/app/profile/page.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const ProfilePage = (props: ProfilePageProps): JSX.Element => {
3333
const [messageApi, contextHolder] = message.useMessage();
3434

3535
useEffect(() => {
36-
// TODO: Retrieve the user details via validate JWT token api
3736
ValidateUser().then((data: VerifyTokenResponseType) => {
3837
form.setFieldsValue({
3938
username: data.data.username,
@@ -69,12 +68,10 @@ const ProfilePage = (props: ProfilePageProps): JSX.Element => {
6968
<div className="gradient-header"></div>
7069
<div className="profile-header">
7170
<div className="left-header">
72-
{/* TODO: Replace with the first initial of username */}
7371
<Avatar size={80} className="avatar">
7472
{username?.charAt(0).toUpperCase()}
7573
</Avatar>
7674
<div className="name-container">
77-
{/* TODO: Set the value in field correctly within the useEffect above and this should work */}
7875
<div className="username">{username}</div>
7976
<div className="email">{email}</div>
8077
</div>
@@ -115,7 +112,6 @@ const ProfilePage = (props: ProfilePageProps): JSX.Element => {
115112
<Form
116113
form={form}
117114
onFinish={(values) => {
118-
// TODO: Check password
119115
let data = values;
120116
if (!values.password || values.password.trim() === "") {
121117
data = {

0 commit comments

Comments
 (0)