mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 20:46:38 +08:00
fix(editor): component name for the mobile menu is incorrect (#9604)
This commit is contained in:
@@ -69,7 +69,7 @@ export class Menu {
|
||||
|
||||
constructor(public options: MenuOptions) {
|
||||
this.menuElement = IS_MOBILE
|
||||
? document.createElement('affine-menu-mobile')
|
||||
? document.createElement('mobile-menu')
|
||||
: document.createElement('affine-menu');
|
||||
this.menuElement.menu = this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user