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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user