Skip to content

Commit 14a87d6

Browse files
committed
docs: update option values
1 parent d1c1c56 commit 14a87d6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/content/learn/reusing-logic-with-custom-hooks.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ import { useState } from 'react';
458458
import ChatRoom from './ChatRoom.js';
459459

460460
export default function App() {
461-
const [roomId, setRoomId] = useState('general');
461+
const [roomId, setRoomId] = useState('genel');
462462
return (
463463
<>
464464
<label>
@@ -467,9 +467,9 @@ export default function App() {
467467
value={roomId}
468468
onChange={e => setRoomId(e.target.value)}
469469
>
470-
<option value="general">genel</option>
471-
<option value="travel">seyahat</option>
472-
<option value="music">müzik</option>
470+
<option value="genel">genel</option>
471+
<option value="seyahat">seyahat</option>
472+
<option value="müzik">müzik</option>
473473
</select>
474474
</label>
475475
<hr />
@@ -654,7 +654,7 @@ import { useState } from 'react';
654654
import ChatRoom from './ChatRoom.js';
655655
656656
export default function App() {
657-
const [roomId, setRoomId] = useState('general');
657+
const [roomId, setRoomId] = useState('genel');
658658
return (
659659
<>
660660
<label>
@@ -663,9 +663,9 @@ export default function App() {
663663
value={roomId}
664664
onChange={e => setRoomId(e.target.value)}
665665
>
666-
<option value="general">genel</option>
667-
<option value="travel">seyahat</option>
668-
<option value="music">müzik</option>
666+
<option value="genel">genel</option>
667+
<option value="seyahat">seyahat</option>
668+
<option value="müzik">müzik</option>
669669
</select>
670670
</label>
671671
<hr />

0 commit comments

Comments
 (0)