File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
src/content/reference/react Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -90,23 +90,16 @@ function Thread({ messages, sendMessageAction }) {
90
90
return (
91
91
<>
92
92
< form action= {formAction} ref= {formRef}>
93
- < input type= " text" name= " message" placeholder= " Hello! " / >
94
- < button type= " submit" > Send < / button>
93
+ < input type= " text" name= " message" placeholder= " 你好! " / >
94
+ < button type= " submit" > 发送 < / button>
95
95
< / form>
96
96
{optimisticMessages .map ((message , index ) => (
97
97
< div key= {index}>
98
98
{message .text }
99
99
{!! message .sending && < small> (发送中……)< / small> }
100
100
< / div>
101
101
))}
102
- <<<<<< < HEAD
103
- < form action= {formAction} ref= {formRef}>
104
- < input type= " text" name= " message" placeholder= " 你好!" / >
105
- < button type= " submit" > 发送< / button>
106
- < / form>
107
- ====== =
108
102
109
- >>>>>> > d6c4c0fee514d06e329d08774bf2f37a7e4e594e
110
103
< / >
111
104
);
112
105
}
You can’t perform that action at this time.
0 commit comments