From 91e53a9cc700d0cba78260234da52d990974c855 Mon Sep 17 00:00:00 2001 From: Danny Kim <0916dhkim@gmail.com> Date: Sat, 13 Jul 2024 18:47:58 -0400 Subject: [PATCH] Add header for MountMustBeDestructuredError message --- code/core/src/preview-errors.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/code/core/src/preview-errors.ts b/code/core/src/preview-errors.ts index 31341bb6132c..c1d070f7c10a 100644 --- a/code/core/src/preview-errors.ts +++ b/code/core/src/preview-errors.ts @@ -214,6 +214,7 @@ export class MountMustBeDestructuredError extends StorybookError { category: Category.PREVIEW_API, code: 12, message: dedent` + Incorrect use of mount in the play function. To use mount in the play function, you must satisfy the following two requirements: