Explorar o código

Fix import path for `getCurrent` and `WebviewWindow` in docs (#2364)

Sanket Chaudhari %!s(int64=4) %!d(string=hai) anos
pai
achega
7fcd991aab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/usage/guides/events.md

+ 1 - 1
docs/usage/guides/events.md

@@ -36,7 +36,7 @@ emit('click', {
 Window-specific events are exposed on the `window` module.
 
 ```ts
-import { getCurrent, WebviewWindow } from '@tauri-apps/api/event'
+import { getCurrent, WebviewWindow } from '@tauri-apps/api/window'
 
 // emit an event that are only visible to the current window
 const current = getCurrent()