|
|
@ -2,9 +2,11 @@ import { NgModule } from '@angular/core'; |
|
|
|
import { Routes, RouterModule } from '@angular/router'; |
|
|
|
|
|
|
|
import { HomeComponent } from './components/home/home.component'; |
|
|
|
import { TransactionDetailsComponent } from './components/transaction-details/transaction-details.component'; |
|
|
|
|
|
|
|
const routes: Routes = [ |
|
|
|
{ path: '', component: HomeComponent }, |
|
|
|
{ path: 'transactions/:txid', component: TransactionDetailsComponent }, |
|
|
|
{ path: '**', redirectTo: '' } |
|
|
|
]; |
|
|
|
|
|
|
|