fix: reload history when data refreshes from Dropbox

This commit is contained in:
Christian Vidal Wolf
2026-04-23 18:43:18 +02:00
parent e0508d50d6
commit 7b71aa484e
+1 -1
View File
@@ -22,7 +22,7 @@ export function HistoryView({ headers, data, onRevert, onEdit }: HistoryViewProp
useEffect(() => { useEffect(() => {
loadHistory(); loadHistory();
}, []); }, [data]);
const loadHistory = async () => { const loadHistory = async () => {
setLoading(true); setLoading(true);