release-2021-06-01 packages/core-plugin-api/src/routing/RouteRef.ts:118,120,122

Signed-off-by: Colton Padden <colton.padden@fastmail.com>
This commit is contained in:
Colton Padden
2021-12-14 14:27:41 -05:00
parent 864fd4f3e0
commit 46b84f79f8
3 changed files with 4 additions and 58 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ export class DevAppBuilder {
* Build a DevApp component using the resources registered so far
*/
build(): ComponentType<{}> {
const dummyRouteRef = createRouteRef({ title: 'Page of another plugin' });
const dummyRouteRef = createRouteRef({ id: 'dummy' });
const DummyPage = () => <Box p={3}>Page belonging to another plugin.</Box>;
attachComponentData(DummyPage, 'core.mountPoint', dummyRouteRef);