mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 13:45:24 +02:00
fix: reload history when data refreshes from Dropbox
This commit is contained in:
@@ -22,7 +22,7 @@ export function HistoryView({ headers, data, onRevert, onEdit }: HistoryViewProp
|
||||
|
||||
useEffect(() => {
|
||||
loadHistory();
|
||||
}, []);
|
||||
}, [data]);
|
||||
|
||||
const loadHistory = async () => {
|
||||
setLoading(true);
|
||||
|
||||
Reference in New Issue
Block a user