Skip to content

Commit e95ed96

Browse files
committed
tour will now state the element which is not found
1 parent e88696d commit e95ed96

File tree

3 files changed

+207
-388
lines changed

3 files changed

+207
-388
lines changed

library/src/components/tour/TourWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export function Tour({
185185
if (showInfoAndError) {
186186
showInformationFlag({
187187
title: "Tour-Info",
188-
description: `Ein Step [${steps[index].step?.title ?? "Unbekannt"}] wurde übersprungen, das Element wurde nicht gefunden.`,
188+
description: `Ein Step [${steps[index].step?.title ?? "Unbekannt"}] wurde übersprungen, das Element ${steps[index].step.target} wurde nicht gefunden.`,
189189
})
190190
}
191191
next(1)

0 commit comments

Comments
 (0)