From 884dc7e835b5931d883f6e3c79a787316f099f82 Mon Sep 17 00:00:00 2001 From: nmemmert Date: Mon, 27 Oct 2025 11:26:57 -0400 Subject: [PATCH] Fix SetupWizard: remove Firestore save and fix text visibility --- src/components/SetupWizard.tsx | 44 +++++++++++++++------------------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/src/components/SetupWizard.tsx b/src/components/SetupWizard.tsx index c562ffa..5ff8cb5 100644 --- a/src/components/SetupWizard.tsx +++ b/src/components/SetupWizard.tsx @@ -147,15 +147,9 @@ export default function SetupWizard({ onComplete, onSkip }: SetupWizardProps) { return account; }); - await DataService.saveUserData('current-user-id', { - accounts: accountsWithDefaults, - envelopes: envelopesWithAllocations, - transactions: [], - setupCompleted: true, - }); onComplete(accountsWithDefaults, envelopesWithAllocations); } catch (error) { - console.error('Error saving setup data:', error); + console.error('Error completing setup:', error); } }; @@ -163,8 +157,8 @@ export default function SetupWizard({ onComplete, onSkip }: SetupWizardProps) {
💰
-

Welcome to Envelope Budgeting

-

Let's set up your budget to get started with secure, organized financial tracking.

+

Welcome to Envelope Budgeting

+

Let's set up your budget to get started with secure, organized financial tracking.

@@ -187,8 +181,8 @@ export default function SetupWizard({ onComplete, onSkip }: SetupWizardProps) { const renderDataSource = () => (
-

How would you like to set up your data?

-

Choose how you'd like to get started with your budget.

+

How would you like to set up your data?

+

Choose how you'd like to get started with your budget.

@@ -200,8 +194,8 @@ export default function SetupWizard({ onComplete, onSkip }: SetupWizardProps) { className="p-6 border-2 border-gray-200 rounded-lg hover:border-blue-500 transition-colors" >
📊
-

Import Data

-

Upload CSV files from your bank or credit card statements

+

Import Data

+

Upload CSV files from your bank or credit card statements

@@ -229,8 +223,8 @@ export default function SetupWizard({ onComplete, onSkip }: SetupWizardProps) { const renderAccounts = () => (
-

Set Up Your Accounts

-

Add your bank accounts, credit cards, and other financial accounts.

+

Set Up Your Accounts

+

Add your bank accounts, credit cards, and other financial accounts.

{/* Existing Accounts */} @@ -380,8 +374,8 @@ export default function SetupWizard({ onComplete, onSkip }: SetupWizardProps) { const renderEnvelopes = () => (
-

Create Your Envelopes

-

Set up budget categories for different spending areas.

+

Create Your Envelopes

+

Set up budget categories for different spending areas.

{/* Existing Envelopes */} @@ -577,8 +571,8 @@ export default function SetupWizard({ onComplete, onSkip }: SetupWizardProps) { const renderIncomeSetup = () => (
-

Income Allocation Setup

-

Set up how your income is automatically allocated to envelopes.

+

Income Allocation Setup

+

Set up how your income is automatically allocated to envelopes.

{/* Income Allocation Settings */} @@ -690,8 +684,8 @@ export default function SetupWizard({ onComplete, onSkip }: SetupWizardProps) { const renderGetPaidSetup = () => (
-

Get Paid Setup

-

Set up your default paycheck amounts for quick income entry.

+

Get Paid Setup

+

Set up your default paycheck amounts for quick income entry.

{/* Default Paycheck Amounts */} @@ -777,8 +771,8 @@ export default function SetupWizard({ onComplete, onSkip }: SetupWizardProps) {
🎉
-

Setup Complete!

-

Your envelope budgeting system is ready to use.

+

Setup Complete!

+

Your envelope budgeting system is ready to use.