Skip to content

Commit ea172bf

Browse files
authored
docs(global-shortcut): import Emitter instead of Manager in example
1 parent 6aead24 commit ea172bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/global-shortcut/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fn main() {
5454
.setup(|app| {
5555
#[cfg(desktop)]
5656
{
57-
use tauri::Manager;
57+
use tauri::Emitter;
5858
use tauri_plugin_global_shortcut::{Code, Modifiers, ShortcutState};
5959

6060
app.handle().plugin(

0 commit comments

Comments
 (0)