Skip to content

Commit 7396b42

Browse files
authored
docs: remove unused onAddTask prop from AddTask component (#1516)
<!-- PR을 보내주셔서 감사합니다! 여러분과 같은 기여자들이 React를 더욱 멋지게 만듭니다! 기존 이슈와 관련된 PR이라면, 아래에 이슈 번호를 추가해주세요. --> # AddTask 컴포넌트의 불필요한 prop 제거 <!-- 어떤 종류의 PR인지 상세 내용을 작성해주세요. --> AddTask 컴포넌트의 불필요한 onAddTask prop을 제거했습니다. ## 필수 확인 사항 - [x] [기여자 행동 강령 규약<sup>Code of Conduct</sup>](https://github.com/reactjs/ko.react.dev/blob/main/CODE_OF_CONDUCT.md) - [x] [기여 가이드라인<sup>Contributing</sup>](https://github.com/reactjs/ko.react.dev/blob/main/CONTRIBUTING.md) - [x] [공통 스타일 가이드<sup>Universal Style Guide</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/universal-style-guide.md) - [x] [번역을 위한 모범 사례<sup>Best Practices for Translation</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/best-practices-for-translation.md) - [x] [번역 용어 정리<sup>Translate Glossary</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/translate-glossary.md) - [x] [`textlint` 가이드<sup>Textlint Guide</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/textlint-guide.md) - [x] [맞춤법 검사<sup>Spelling Check</sup>](https://nara-speller.co.kr/speller/) ## 선택 확인 사항 - [ ] 번역 초안 작성<sup>Draft Translation</sup> - [ ] 리뷰 반영<sup>Resolve Reviews</sup>
1 parent ea34014 commit 7396b42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/learn/scaling-up-with-reducer-and-context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ const initialTasks = [
12281228
import { useState } from 'react';
12291229
import { useTasksDispatch } from './TasksContext.js';
12301230

1231-
export default function AddTask({ onAddTask }) {
1231+
export default function AddTask() {
12321232
const [text, setText] = useState('');
12331233
const dispatch = useTasksDispatch();
12341234
return (

0 commit comments

Comments
 (0)