Skip to content

Commit

Permalink
Merge pull request #28590 from 0916dhkim/header-for-mount-error
Browse files Browse the repository at this point in the history
Fix: Add header for MountMustBeDestructuredError message
(cherry picked from commit 0b54024)
  • Loading branch information
kasperpeulen authored and storybook-bot committed Jul 19, 2024
1 parent c2eff37 commit 4f86321
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/core/src/preview-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4f86321

Please sign in to comment.