Skip to content

Commit 401f5cb

Browse files
committed
remove console log
1 parent 21b2a96 commit 401f5cb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/A11y.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ export const A11y: React.FC<Props> = ({
7272
// temporary fix to prevent error -> keep track of our component's mounted state
7373
const componentIsMounted = useRef(true);
7474
useEffect(() => {
75-
console.log('mounting' + description);
7675
return () => {
77-
console.log('unmounting' + description);
7876
domElement.style.cursor = 'default';
7977
componentIsMounted.current = false;
8078
};
@@ -93,7 +91,6 @@ export const A11y: React.FC<Props> = ({
9391
a11yScreenReader('');
9492
// @ts-ignore
9593
window.setTimeout(() => {
96-
console.log('should say ' + activationMsg);
9794
a11yScreenReader(activationMsg);
9895
}, 100);
9996
if (typeof actionCall === 'function') actionCall();

0 commit comments

Comments
 (0)