From 3d3663a9775af78cea2f0bd3a11cced3c1349382 Mon Sep 17 00:00:00 2001 From: Antony Jones Date: Tue, 23 Jun 2020 11:14:33 +0100 Subject: [PATCH] make more concise --- site/content/docs/03-run-time.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/03-run-time.md b/site/content/docs/03-run-time.md index 75fb03fbe8..43d870d940 100644 --- a/site/content/docs/03-run-time.md +++ b/site/content/docs/03-run-time.md @@ -50,7 +50,7 @@ If a function is returned from `onMount`, it will be called when the component i ``` -Note that returning a function is only available for *synchronous* onMount functions. If an async function or promise is passed to `onMount`, the function returned will **not** be called when the component is unmounted. +> Returning a function is only available for *synchronous* onMount functions. If an `async` function or `Promise` is passed to `onMount`, the returned function will **not** be called. #### `beforeUpdate`