mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-10-02 14:15:29 +02:00
fix: reload history when data refreshes from Dropbox
This commit is contained in:
1 parent
e0508d50d6
commit
7b71aa484e
1 file changed
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user