Update packages/dev-utils/src/devApp/render.tsx

Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
This commit is contained in:
Patrik Oldsberg
2021-02-02 11:34:48 +01:00
committed by GitHub
parent 7201498545
commit 20ca5f179f
+1 -1
View File
@@ -97,7 +97,7 @@ class DevAppBuilder {
* Adds a page component along with accompanying sidebar item.
*
* If no path is provided one will be generated.
* If no title is provider no sidebar item will be created.
* If no title is provided, no sidebar item will be created.
*/
addPage(opts: RegisterPageOptions): DevAppBuilder {
const path = opts.path ?? `/page-${this.routes.length + 1}`;