Skip to content

Commit b2f0696

Browse files
committed
fix: remove logs
Signed-off-by: codeSafari10 <[email protected]>
1 parent 4a019a1 commit b2f0696

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/custom/permissions.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,14 @@ export const createCanShow = (
6464
};
6565

6666
if (can) {
67-
return <>{children}</>;
67+
return children;
6868
}
6969

7070
if (invert_action.includes('hide')) {
7171
return null;
7272
}
7373

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

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

0 commit comments

Comments
 (0)