Channel component

This commit is contained in:
softsimon
2022-05-01 03:01:27 +04:00
parent 1c3570113e
commit 5374fcbe9a
23 changed files with 536 additions and 59 deletions

View File

@@ -2,6 +2,7 @@ import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { LightningDashboardComponent } from './lightning-dashboard/lightning-dashboard.component';
import { NodeComponent } from './node/node.component';
import { ChannelComponent } from './channel/channel.component';
const routes: Routes = [
{
@@ -12,6 +13,10 @@ const routes: Routes = [
path: 'node/:public_key',
component: NodeComponent,
},
{
path: 'channel/:short_id',
component: ChannelComponent,
},
{
path: '**',
redirectTo: ''