story: Fix the startup error in the dock example (#1093)

This commit is contained in:
Floyd Wang 2025-07-28 09:43:29 +08:00 committed by GitHub
parent 37aa26d655
commit 75af2b31ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -651,6 +651,7 @@ impl StoryState {
"AccordionStory" => story!(AccordionStory),
"SidebarStory" => story!(SidebarStory),
"FormStory" => story!(FormStory),
"NotificationStory" => story!(NotificationStory),
_ => {
unreachable!("Invalid story klass: {}", self.story_klass)
}