From 0bd7ed8191f47f64eb3cd18cb86ab2e8d89b34c5 Mon Sep 17 00:00:00 2001 From: Mizah Date: Sun, 17 Nov 2024 14:34:47 +0200 Subject: [PATCH] Added doc comment to toast() --- packages/frontend/src/os.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts index fc37469b6b..92a7e4f2c6 100644 --- a/packages/frontend/src/os.ts +++ b/packages/frontend/src/os.ts @@ -253,6 +253,11 @@ export function pageWindow(path: string) { }); } +/** + * Displays a toast message to the user. + * + * @param {string} message - The message to display in the toast. + */ export function toast(message: string) { const { dispose } = popup(MkToast, { message,