Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ”₯ Fix DeepScan warn, by removing obsolete param

Alicia Sykes3fb87fa9b89e
diff --git a/src/utils/IsVisibleToUser.js b/src/utils/IsVisibleToUser.js
index fba48fa6..9b80bcba 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 = () => {