From 29fac8a5182286b25d0d95dfcb27c8ba22007e9e Mon Sep 17 00:00:00 2001
From: Abby Wheelis <abby.wheelis@centre.edu>
Date: Wed, 25 Oct 2023 09:04:54 -0600
Subject: [PATCH] fix naming error

when I updated the name of this visibility state, I did not update it's setter. This caused the popup to fail to launch
---
 www/js/control/ProfileSettings.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/js/control/ProfileSettings.jsx b/www/js/control/ProfileSettings.jsx
index 7cf22a154..e79a95d8d 100644
--- a/www/js/control/ProfileSettings.jsx
+++ b/www/js/control/ProfileSettings.jsx
@@ -42,7 +42,7 @@ const ProfileSettings = () => {
     const StartPrefs = getAngularService('StartPrefs');
 
     //functions that come directly from an Angular service
-    const editCollectionConfig = () => setEditCollection(true);
+    const editCollectionConfig = () => setEditCollectionVis(true);
     const editSyncConfig = () => setEditSync(true);
 
     //states and variables used to control/create the settings