The `calculatePercentage` function was not being imported correctly from the formatters module, causing a build error. This commit fixes the import statement to correctly import the function.
The `safeStorage` object in `budgetUtils.ts` defines `get`, `set`, and `remove` methods, but the `budgetStorage.ts` file is using `getItem`, `setItem`, and `removeItem`. This commit updates `budgetStorage.ts` to use the correct methods from `safeStorage`.
Split the large Index.tsx file into smaller, more manageable components and custom hooks to improve code readability and maintainability. Ensure all functionality remains the same after refactoring.
The BudgetData type was not being correctly imported from the BudgetContext. This commit updates the import statements in BudgetProgressCard.tsx and HomeContent.tsx to import BudgetData from types.ts, resolving the TypeScript errors.
Improve error handling and logging in BuildInfoPlugin.java. Enhance type conversion and error handling in getAppVersionInfo() in platform.ts to ensure correct version information display.
This commit implements the BuildInfo Capacitor plugin for iOS to retrieve the app version and build number from Info.plist. This resolves an issue where the version information was not being updated on iOS devices due to the absence of a native plugin implementation.
The `getCategorySpending` function was not returning an array, causing a type error when used with the `some` method in the `HomeContent` component. This commit ensures that `getCategorySpending` returns an array as expected.
The `useBudgetTabContent` hook was throwing an error when `data` prop was undefined. This commit adds a check to ensure that `data` is defined before accessing its properties.
The BudgetTabContent and RecentTransactionsSection components in the Index page were receiving incorrect props, leading to TypeScript errors. This commit fixes these errors by passing the correct props to these components.