gitforest 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.tsx +3 -3
package/package.json
CHANGED
package/src/index.tsx
CHANGED
|
@@ -254,16 +254,16 @@ async function runOnboardingWizard(): Promise<void> {
|
|
|
254
254
|
};
|
|
255
255
|
|
|
256
256
|
// Render onboarding wizard
|
|
257
|
-
const
|
|
257
|
+
const instance = render(
|
|
258
258
|
<OnboardingWizard
|
|
259
259
|
onComplete={handleComplete}
|
|
260
260
|
onCancel={handleCancel}
|
|
261
|
-
onUnmount={unmount}
|
|
261
|
+
onUnmount={() => instance.unmount()}
|
|
262
262
|
/>
|
|
263
263
|
);
|
|
264
264
|
|
|
265
265
|
// Wait for completion or cancellation
|
|
266
|
-
await waitUntilExit();
|
|
266
|
+
await instance.waitUntilExit();
|
|
267
267
|
|
|
268
268
|
if (cancelled) {
|
|
269
269
|
console.log("\nOnboarding cancelled. Run 'gitforest --init' to create a default config.");
|