Skip to content

Commit 243c6a6

Browse files
authored
fix conflict
1 parent ce4aa0d commit 243c6a6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/content/reference/react/useTransition.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -585,11 +585,7 @@ export async function updateQuantity(newQuantity) {
585585

586586
你可以通过组件暴露一个 `action` 属性,允许父组件调用一个 Action。
587587

588-
<<<<<<< HEAD
589-
例如,这个 `TabButton` 组件将其点击事件逻辑封装到 `action` 属性中:
590-
=======
591-
For example, this `TabButton` component wraps its `onClick` logic in an `action` prop:
592-
>>>>>>> a3e9466dfeea700696211533a3570bc48d7bc3d3
588+
例如,这个 `TabButton` 组件将 `onClick` 事件逻辑封装到 `action` 属性中:
593589

594590
```js {8-12}
595591
export default function TabButton({ action, children, isActive }) {

0 commit comments

Comments
 (0)