File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/components/Transaction Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ function TransactionStats() {
5656 if ( incomeByDay . length > 0 )
5757 return (
5858 < div >
59+ < h3 > Net Income vs. Date</ h3 >
5960 < LineChart width = { 600 } height = { 400 } data = { incomeByDay } >
6061 < CartesianGrid strokeDasharray = "3 3" />
6162 < XAxis label = "Date" dataKey = "date" interval = "preserveEnd" />
@@ -102,6 +103,7 @@ function TransactionStats() {
102103 if ( loading ) return < ReactLoading color = "#e26d5c" /> ;
103104 return (
104105 < >
106+ < h3 > Transaction List</ h3 >
105107 { salesInRange . map ( ( transaction ) => (
106108 < TransactionListItem
107109 transaction = { transaction }
@@ -116,8 +118,10 @@ function TransactionStats() {
116118 < div className = "container" >
117119 < Header />
118120 < HeaderPadding />
119- < div className = "SalesPlot" > { renderPlot ( ) } </ div >
120121 < div className = "DateInputs" > { dateInputs ( ) } </ div >
122+ < div className = "SalesPlot" > { renderPlot ( ) } </ div >
123+ < Header />
124+ < HeaderPadding />
121125 < div className = "FilteredData" > { filteredList ( ) } </ div >
122126 </ div >
123127 ) ;
You can’t perform that action at this time.
0 commit comments