about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2023-01-23T15·54-0800
committerclbot <clbot@tvl.fyi>2023-01-23T16·00+0000
commit206b797d00b9da845d4b003b7c17e1d039b7909d (patch)
tree438cdd254cbaa0eecde7625bbc5a46926fd54ea2
parent274610f1d3a0263b058ae4327af0445ca34f27d6 (diff)
fix(wpcarro/ynabsql): caption -> legend r/5743
Cleaning up React console warnings

Change-Id: I41742d01d420be7c56332e233443aa4b18194837
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7914
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
-rw-r--r--users/wpcarro/ynabsql/dataviz/components.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/wpcarro/ynabsql/dataviz/components.jsx b/users/wpcarro/ynabsql/dataviz/components.jsx
index 88f69b5f5152..a9c8e544b5a2 100644
--- a/users/wpcarro/ynabsql/dataviz/components.jsx
+++ b/users/wpcarro/ynabsql/dataviz/components.jsx
@@ -1232,7 +1232,7 @@ const Transactions = ({ sensitive, transactions, onSort, onClick, onViewChange,
 
     return (
         <div>
-            <caption>Transactions</caption>
+            <legend>Transactions</legend>
             <div className="btn-group">
                 <button onClick={() => onViewChange('table')} className="btn btn-default btn-ghost">Table</button>
                 <button onClick={() => onViewChange('csv')} className="btn btn-default btn-ghost">CSV</button>