Skip to content

Commit 67646a4

Browse files
committed
chore: fix typo in dispatch
1 parent c1a918a commit 67646a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common/src/internal/dispatch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function dispatch<T extends any = any>(
88
throw new Error('Event not defined.');
99
}
1010
if (!element) {
11-
throw new Error('Tried to dipatch event without element.');
11+
throw new Error('Tried to dispatch event without element.');
1212
}
1313
const event: CustomEvent<T> = new CustomEvent(eventType, {
1414
...eventInit,

0 commit comments

Comments
 (0)