Skip to content

Commit

Permalink
fix: remove logs
Browse files Browse the repository at this point in the history
Signed-off-by: codeSafari10 <[email protected]>
  • Loading branch information
codeSafari10 committed Sep 14, 2024
1 parent 4a019a1 commit b2f0696
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/custom/permissions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,14 @@ export const createCanShow = (
};

if (can) {
return <>{children}</>;
return children;
}

if (invert_action.includes('hide')) {
return null;
}

const pointerEvents = notifyOnclick ? 'auto' : 'none';
console.log('cant perform action ', reason, eventBus);

const onClick = notifyOnclick
? (e: React.MouseEvent<HTMLDivElement | HTMLElement>) => {
Expand Down

0 comments on commit b2f0696

Please sign in to comment.