Skip to content

Commit

Permalink
fix(core/theme-switcher): correct typo for MutationObserver (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippsteinberg committed Jan 25, 2023
1 parent ddae11e commit fce302c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/utils/theme-switcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class ThemeSwitcher {
return;
}

if (!('MutationOberver' in window)) {
if (!('MutationObserver' in window)) {
console.warn(
'ThemeSwitcher not supported by your browser. Missing MutationObserver API'
);
Expand Down

0 comments on commit fce302c

Please sign in to comment.