Skip to content

Commit 17b6fca

Browse files
committed
Modify test of Dynamic children
1 parent 88286c0 commit 17b6fca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/__test__/Typist.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ test('Dynamic children', async () => {
5959
const [index, setIndex] = useState(0);
6060
return (
6161
<Typist
62-
loop
6362
onTypingDone={() => {
6463
setIndex(index === 0 ? 1 : 0);
6564
}}
65+
restartKey={index}
6666
>
6767
{arr[index]}
6868
</Typist>

0 commit comments

Comments
 (0)