mirror of https://github.com/Lissy93/dashy.git
🔥 Fix DeepScan warn, by removing obsolete param
This commit is contained in:
parent
b5415ca5b9
commit
3fb87fa9b8
|
@ -27,7 +27,7 @@ const determineIntersection = (source = [], target = []) => {
|
||||||
/* Returns false if the displayData of a section/item
|
/* Returns false if the displayData of a section/item
|
||||||
should not be rendered for the current user/ guest */
|
should not be rendered for the current user/ guest */
|
||||||
export const isVisibleToUser = (displayData, currentUser) => {
|
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
|
// Checks if user explicitly has access to a certain section
|
||||||
const checkVisibility = () => {
|
const checkVisibility = () => {
|
||||||
|
|
Loading…
Reference in New Issue