From d447490a186a473dc398a9214fd37c5180fdcf7d Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 22 May 2022 16:02:10 -0700 Subject: Fix geofence refresh --- modern/src/settings/components/CollectionActions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/settings/components') diff --git a/modern/src/settings/components/CollectionActions.js b/modern/src/settings/components/CollectionActions.js index 6bf9ddb1..98226269 100644 --- a/modern/src/settings/components/CollectionActions.js +++ b/modern/src/settings/components/CollectionActions.js @@ -26,7 +26,7 @@ const CollectionActions = ({ const handleRemoveResult = (removed) => { setRemoving(false); - if (removed && setTimestamp) { + if (removed) { setTimestamp(Date.now()); } }; -- cgit v1.2.3