-feat 修复json格式问题
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
```typescript
|
|
||||||
import React, { useState, useEffect } from 'react';
|
import React, { useState, useEffect } from 'react';
|
||||||
import { Icon } from '@iconify/react';
|
import { Icon } from '@iconify/react';
|
||||||
import { formatCurrency } from '../../../utils/format';
|
import { formatCurrency } from '../../../utils/format';
|
||||||
@@ -141,4 +140,3 @@ export const DailyInsightCard: React.FC<DailyInsightCardProps> = ({
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
```
|
|
||||||
|
|||||||
@@ -289,6 +289,8 @@ Output Requirements:
|
|||||||
// Here we choose to throw so fallback static text appears.
|
// Here we choose to throw so fallback static text appears.
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Cache storage for daily insight
|
// Cache storage for daily insight
|
||||||
let dailyInsightCache: {
|
let dailyInsightCache: {
|
||||||
data: { spending: string; budget: string };
|
data: { spending: string; budget: string };
|
||||||
@@ -410,4 +412,5 @@ Task:
|
|||||||
isConfirmationCardComplete,
|
isConfirmationCardComplete,
|
||||||
formatConfirmationCard,
|
formatConfirmationCard,
|
||||||
getFinancialAdvice,
|
getFinancialAdvice,
|
||||||
|
getDailyInsight,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user