Reverted to edit edt-df6bf84a-482f-4f45-8871-2125b421fdb0: "Add bottom padding to screen

Adds 100px bottom padding to the screen."
This commit is contained in:
gpt-engineer-app[bot]
2025-03-23 10:11:05 +00:00
parent 8cf2e70050
commit 2c99bbce88
11 changed files with 192 additions and 278 deletions

View File

@@ -13,7 +13,7 @@ interface BudgetData {
remainingAmount: number;
}
export interface BudgetTabContentProps {
interface BudgetTabContentProps {
data: BudgetData;
formatCurrency: (amount: number) => string;
calculatePercentage: (spent: number, target: number) => number;
@@ -26,12 +26,6 @@ const BudgetTabContent: React.FC<BudgetTabContentProps> = ({
calculatePercentage,
onSaveBudget
}) => {
// 데이터 유효성 체크 - 데이터가 없으면 기본값 사용
if (!data) {
console.warn('BudgetTabContent: data prop이 제공되지 않았습니다. 기본값을 사용합니다.');
data = { targetAmount: 0, spentAmount: 0, remainingAmount: 0 };
}
const {
categoryBudgets,
showBudgetInput,