🔥 Fix DeepScan warn, by removing obsolete param

This commit is contained in:
Alicia Sykes 2024-04-28 22:27:24 +01:00
parent b5415ca5b9
commit 3fb87fa9b8
1 changed files with 1 additions and 1 deletions

View File

@ -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 = () => {