Skip to content

Commit

Permalink
刪除 TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
ginger-lemon committed Oct 24, 2023
1 parent 4e09cc3 commit 8c5bc9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Hooks/useAutoResizeTextarea.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { useEffect, useRef } from "react";

function useAutoResizeTextatea(value) {
const ref = useRef();

// TODO:處理打字時會重新 re-render 置底問題

useEffect(() => {
resizeTextarea();
Expand Down
2 changes: 0 additions & 2 deletions src/pages/Note/PasswordDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ const PasswordDialog = ({ handleClick }) => {
const dispatch = useDispatch()
const [showPassword, setShowPassword] = useState(false)

// TODO: 驗證密碼

const handleChangePassword = (e) => {
dispatch(setUserPassword(e.target.value))
}
Expand Down

0 comments on commit 8c5bc9d

Please sign in to comment.