Skip to content

Commit

Permalink
style(#134): console.log 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
yyypearl committed Aug 26, 2024
1 parent 0294ed2 commit c14869f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 1 addition & 7 deletions src/app/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,7 @@ const Home = () => {
const router = useRouter();
const audio = useSelector((state: RootState) => state.audio.audio);

useEffect(() => {
if (audio) {
console.log("Audio is enabled");
} else {
console.log("Audio is disabled");
}
}, [audio]);
useEffect(() => {}, [audio]);

return (
<>
Expand Down
2 changes: 0 additions & 2 deletions src/components/home/Todo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const Todo = () => {
.then((response) => {
const todoData: Todo[] = response.data.todoList;
setTodoData(todoData);
console.log("조회", response);
})
.catch(() => {});
}, [currentDate, render]);
Expand All @@ -50,7 +49,6 @@ const Todo = () => {
const changeTodo = (todoId: number) => {
Axios.put(`/api/v1/todos/${todoId}`).then((response) => {
setRenderData(!render);
console.log("수정", response);
});
};

Expand Down

0 comments on commit c14869f

Please sign in to comment.