diff --git a/src/utils/IsVisibleToUser.js b/src/utils/IsVisibleToUser.js index fba48fa6ff..9b80bcbadc 100644 --- a/src/utils/IsVisibleToUser.js +++ b/src/utils/IsVisibleToUser.js @@ -27,7 +27,7 @@ const determineIntersection = (source = [], target = []) => { /* Returns false if the displayData of a section/item should not be rendered for the current user/ guest */ export const isVisibleToUser = (displayData, currentUser) => { - const isGuest = isLoggedInAsGuest(currentUser); // Check if current user is a guest + const isGuest = isLoggedInAsGuest(); // Check if current user is a guest // Checks if user explicitly has access to a certain section const checkVisibility = () => {