-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 🐛 issue with "Untitled Slide" already exists in builder
When adding new slides via withSlide() in DeckBuilder and do not provide names for these slides, it uses "Untitled Slide" by default. The problem is that when you adding more than one such slide, it throws an error that slide already exists. This commit fixes it by introducing a random suffix to "Untitled Slide" name.
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters