Update packages/dev-utils/src/devApp/render.tsx
Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user