fix(wpcarro/ynabsql): caption -> legend

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
This commit is contained in:
William Carroll 2023-01-23 07:54:54 -08:00 committed by clbot
parent 274610f1d3
commit 206b797d00

View file

@ -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>