chore: use code snippet for signal debugging

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
Heikki Hellgren
2024-03-08 08:11:56 +02:00
parent 9a41a7bfa8
commit 282f62f490
5 changed files with 19 additions and 39 deletions
+2 -5
View File
@@ -15,10 +15,8 @@
*/
import React from 'react';
import { createDevApp } from '@backstage/dev-utils';
import { notificationsPlugin } from '../src/plugin';
import { NotificationsPage } from '../src/components/NotificationsPage';
import { NotificationsPage, notificationsPlugin } from '../src/plugin';
import { NotificationsSidebarItem } from '../src';
import { rootRouteRef } from '../src/routes';
// TODO: How to sign in here as guest user?
createDevApp()
@@ -26,7 +24,6 @@ createDevApp()
.addPage({
element: <NotificationsPage />,
path: '/notifications',
sideBarItem: <NotificationsSidebarItem />,
routeRef: rootRouteRef,
sidebarItem: <NotificationsSidebarItem />,
})
.render();