[tiny] rename show menu paste (#1332)
This PR renames `showUiPaste` to `showMenuPaste`, since we use `MENU_PASTE` elsewhere.
This commit is contained in:
parent
0800dbe087
commit
2a36d6342c
3 changed files with 5 additions and 5 deletions
|
@ -194,7 +194,7 @@ function _findMenuItem(menu: MenuSchema | MenuChild[], path: string[]): MenuChil
|
|||
}
|
||||
}
|
||||
|
||||
export const showUiPaste =
|
||||
export const showMenuPaste =
|
||||
typeof window !== 'undefined' &&
|
||||
'navigator' in window &&
|
||||
Boolean(navigator.clipboard) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue