Fix async tour example
Browse files
docs/src/content/guides/async-tour.mdx
CHANGED
@@ -12,14 +12,14 @@ You can also have async steps in your tour. This is useful when you want to load
|
|
12 |
heading={'Asynchronous Tour'}
|
13 |
tour={[
|
14 |
{
|
15 |
-
element: '.line:nth-child(
|
16 |
popover: {
|
17 |
title: 'First Step',
|
18 |
description: 'You can add a function to override the default behavior of the next button i.e. to fetch some data from the server and then call moveNext()',
|
19 |
}
|
20 |
},
|
21 |
{
|
22 |
-
element: '.line:nth-child(
|
23 |
popover: {
|
24 |
title: 'Manually Handle Next',
|
25 |
description: 'Here we are moving to the next step manually since driver.js does not know when the data is loaded dynamically.',
|
|
|
12 |
heading={'Asynchronous Tour'}
|
13 |
tour={[
|
14 |
{
|
15 |
+
element: '.line:nth-child(14)',
|
16 |
popover: {
|
17 |
title: 'First Step',
|
18 |
description: 'You can add a function to override the default behavior of the next button i.e. to fetch some data from the server and then call moveNext()',
|
19 |
}
|
20 |
},
|
21 |
{
|
22 |
+
element: '.line:nth-child(17)',
|
23 |
popover: {
|
24 |
title: 'Manually Handle Next',
|
25 |
description: 'Here we are moving to the next step manually since driver.js does not know when the data is loaded dynamically.',
|