Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dismiss tour from overlay #2525

Merged
merged 14 commits into from
Mar 11, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed tests
  • Loading branch information
harshilsharma63 committed Mar 11, 2022
commit 98b25d01d60063fee2e88883b61bc358613c4a0e
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const AddPropertiesTourStep = (): JSX.Element | null => {
// and the user is still on the base tour
useEffect(() => {
async function task() {
if (!me) {
if (!me || !card) {
return
}

Expand Down Expand Up @@ -87,7 +87,7 @@ const AddPropertiesTourStep = (): JSX.Element | null => {

// this hack is needed to allow performing async task in useEffect
task()
}, [card.id])
}, [card])

return (
<TourTipRenderer
Expand Down