Skip to content

Commit 5f63ad0

Browse files
lumirlumirCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 727b6b8 commit 5f63ad0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/reference/react/useOptimistic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function MyComponent({name, todos}) {
4040
#### 매개변수 {/*parameters*/}
4141
4242
* `state`: 작업이 대기 중이지 않을 때 초기에 반환될 값입니다.
43-
* `updateFn(currentState, optimisticValue)`: 현재 State와 `addOptimistic`에 전달된 낙관적인 값을 취하는 함수로, 결과적인 낙관적인 State를 반환합니다. 순수 함수여야 합니다. `updateFn`은 두 개의 매개변수를 취합니다. `currentState``optimisticValue`. 반환 값은 `currentState``optimisticValue`의 병합된 값입니다.
43+
* `updateFn(currentState, optimisticValue)`: 현재 state와 `addOptimistic`에 전달된 낙관적인 값을 취하는 함수로, 결과적인 낙관적인 state를 반환합니다. 순수 함수여야 합니다. `updateFn`은 두 개의 매개변수를 취합니다. `currentState``optimisticValue`. 반환 값은 `currentState``optimisticValue`의 병합된 값입니다.
4444
4545
#### 반환값 {/*returns*/}
4646

0 commit comments

Comments
 (0)