From 7fcd991aabd03d38e66a14e9241f2069cdee97db Mon Sep 17 00:00:00 2001 From: Sanket Chaudhari Date: Mon, 9 Aug 2021 02:11:27 +0530 Subject: [PATCH] Fix import path for `getCurrent` and `WebviewWindow` in docs (#2364) --- docs/usage/guides/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/guides/events.md b/docs/usage/guides/events.md index 4470ec97a..2a9ba17aa 100644 --- a/docs/usage/guides/events.md +++ b/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()