fix: 완료된 TODO 제거

This commit is contained in:
정기영 2024-08-06 16:00:49 +09:00
parent 7e2a7e9208
commit 60699036f5
5 changed files with 0 additions and 5 deletions

View File

@ -2,7 +2,6 @@ import { useState, useRef, useEffect } from 'react';
import styles from './PasswordChangeForm.module.css';
export default function PasswordChangeForm({ onSubmit, pwError = false }) {
// TODO:
const [errorConfirmMessage, setErrorConfirmMessage] = useState(false);
const [errorSameMessage, setErrorSameMessage] = useState(false);
const currentPasswordRef = useRef('');

View File

@ -2,7 +2,6 @@ import instance from '../../utils/axios/instance';
import { API_URL } from '../../constants';
export function usePasswordChange() {
// TODO: API 수정 후 실제 기능하는지 확인
const passwordChange = (currentPw, newPw, newPwCheck) => {
const newPasswordBody = {
currentPassword: currentPw,

View File

@ -10,7 +10,6 @@ export default function NoticeDetailPage() {
const notice = data?.data;
const navigate = useNavigate();
const { noticeDelete } = useNoticeDelete();
// TODO: ( ArticleDetail)
const handleDelete = async () => {
await noticeDelete(noticeId);

View File

@ -11,7 +11,6 @@ export default function StudentHomePage() {
const { data: allLectures } = useLectures();
const allClasses = allLectures?.data ?? [];
// TODO:
return (
<MaxWidthLayout>
<ClassGrid title="수강중인 강의">

View File

@ -20,7 +20,6 @@ export default function UserRegisterPage() {
const handleSubmit = async (e) => {
e.preventDefault();
// TODO: POST
const isPWMatch = passwordRef.current.value === passwordConfirmRef.current.value;
setPasswordMatch(isPWMatch);