Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(onboarding): state not resetting (#3676)
dev-rba6da7d0ef048
diff --git a/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsx b/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsxindex 25aecf0315..db180d0321 100644--- a/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsx+++ b/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsx@@ -7,6 +7,7 @@ import { isTouchDevice } from '@core/mobile/isTouchDevice';import { useCompleteTutorialMutation } from '@queries/auth/tutorial';import { useLocation, useNavigate } from '@solidjs/router';import {+ batch,createEffect,createMemo,createSignal,@@ -211,9 +212,12 @@ function InteractiveOnboardingInner(props: InteractiveOnboardingProps) {};const resetTutorial = () => {- state.reset();- setReadyToContinue(false);- setContinueLabel(undefined);+ batch(() => {+ state.reset();+ resetSandbox();+ setReadyToContinue(false);+ setContinueLabel(undefined);+ });};// cmd+enter hotkey to continue