Gain insights into the allocation of funds across different categories through our Budget Analysis
-
-
- `$${value}`} />
- } />
-
- {
- const category = data.payload.Category;
-
- // Active behavior: use the static 2024 ExpensesLinkData (code 2)
- const matchedLinkObject: ExpensesLinkItem | undefined = ExpensesLinkData.find(
- (obj) => obj.category === category
- );
-
- if (matchedLinkObject) {
- window.open(matchedLinkObject.link, '_blank');
- }
-
- // // --- if previous-years support is enabled: Uncomment code given below
- // // const matchedLinkObject: ExpensesLinkItem | undefined = currentExpensesLinkData.find(
- // // (obj: ExpensesLinkItem) => obj.category === category
- // // );
- // //
- // // if (matchedLinkObject) {
- // // window.open(matchedLinkObject.link, '_blank');
- // // }
- }}
- />
-
+
+ {isMounted && windowWidth >= 900 && (
+
+
+ `$${value}`} stroke='currentColor' />
+ } />
+
+ {
+ const category = data.payload.Category;
+
+ // Active behavior: use the static 2024 ExpensesLinkData (code 2)
+ const matchedLinkObject: ExpensesLinkItem | undefined = ExpensesLinkData.find(
+ (obj) => obj.category === category
+ );
+
+ if (matchedLinkObject) {
+ window.open(matchedLinkObject.link, '_blank', 'noopener,noreferrer');
+ }
+
+ // // --- if previous-years support is enabled: Uncomment code given below
+ // // const matchedLinkObject: ExpensesLinkItem | undefined = currentExpensesLinkData.find(
+ // // (obj: ExpensesLinkItem) => obj.category === category
+ // // );
+ // //
+ // // if (matchedLinkObject) {
+ // // window.open(matchedLinkObject.link, '_blank');
+ // // }
+ }}
+ />
+
+ )}
- {windowWidth && windowWidth < 900 ?
: null}
+ {isMounted && windowWidth < 900 ?
: null}