File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
assets/apps/dashboard/src/Components/Content Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ const LaunchProgress = () => {
5353 const autoDetected = checks . autoDetected || { } ;
5454 const savedProgress = checks . savedProgress || { } ;
5555
56- // State to track completion for all steps
5756 const [ stepsState , setStepsState ] = useState ( {
5857 identity : initializeStepState (
5958 identitySteps ,
@@ -80,6 +79,11 @@ const LaunchProgress = () => {
8079 // Save progress whenever it changes
8180 useEffect ( ( ) => {
8281 const timeoutId = setTimeout ( ( ) => {
82+ // Update neveDash object to keep it in sync
83+ if ( neveDash . launchProgress ) {
84+ neveDash . launchProgress . savedProgress = stepsState ;
85+ }
86+
8387 apiFetch ( {
8488 path : '/nv/v1/dashboard/launch-progress' ,
8589 method : 'POST' ,
You can’t perform that action at this time.
0 commit comments