diff --git a/CHANGELOG.md b/CHANGELOG.md index bf3cc619..e5973944 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ ## [Unreleased] +### Fixed +- Fixed first tour item not shown if settings is not open ([support#823]). + +[support#823]: https://github.com/pybricks/support/issues/823 + ## [2.0.0-beta.12] - 2022-12-02 ### Added diff --git a/src/tour/Tour.tsx b/src/tour/Tour.tsx index 0c20a98e..8d23dda3 100644 --- a/src/tour/Tour.tsx +++ b/src/tour/Tour.tsx @@ -241,6 +241,7 @@ const Tour: React.VoidFunctionComponent = () => { // automatically show the tour on the first run only useEffectOnce(() => { if (showOnStartup) { + setSelectedActivity(Activity.Settings); dispatch(tourStart()); setShowOnStartup(false); }