Skip to content

Commit d4a7ba5

Browse files
committed
fix event typo
1 parent eb7df97 commit d4a7ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/A11yAnnouncer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const A11yAnnouncer: React.FC = () => {
1717
const message = useAnnounceStore(state => state.message);
1818

1919
useEffect(() => {
20-
window.addEventListener('cick', () => {
20+
window.addEventListener('click', () => {
2121
if (window.document.activeElement?.getAttribute('r3f-a11y')) {
2222
//@ts-ignore
2323
window.document.activeElement.blur();

0 commit comments

Comments
 (0)