We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21b2a96 commit 401f5cbCopy full SHA for 401f5cb
src/A11y.tsx
@@ -72,9 +72,7 @@ export const A11y: React.FC<Props> = ({
72
// temporary fix to prevent error -> keep track of our component's mounted state
73
const componentIsMounted = useRef(true);
74
useEffect(() => {
75
- console.log('mounting' + description);
76
return () => {
77
- console.log('unmounting' + description);
78
domElement.style.cursor = 'default';
79
componentIsMounted.current = false;
80
};
@@ -93,7 +91,6 @@ export const A11y: React.FC<Props> = ({
93
91
a11yScreenReader('');
94
92
// @ts-ignore
95
window.setTimeout(() => {
96
- console.log('should say ' + activationMsg);
97
a11yScreenReader(activationMsg);
98
}, 100);
99
if (typeof actionCall === 'function') actionCall();
0 commit comments