renamed search component to search-page
This commit is contained in:
1 parent
ca7e3fa489
commit
728dae4e59
8 files changed
+30
-30
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { HomeComponent } from './features/home/home.component';
|
||||
import { SearchComponent } from './features/discover/search/search.component';
|
||||
import { SearchPageComponent } from './features/discover/search-page/search-page.component';
|
||||
import { TrendingComponent } from './features/discover/trending/trending.component';
|
||||
import { PopularComponent } from './features/discover/popular/popular.component';
|
||||
import { LibraryComponent } from './features/library/library.component';
|
||||
@@ -12,7 +12,7 @@ import { SettingsComponent } from './features/settings/settings.component';
|
||||
const routes: Routes = [
|
||||
{ path: '', redirectTo: '/home', pathMatch: 'full' },
|
||||
{ path: 'home', component: HomeComponent },
|
||||
{ path: 'search', component: SearchComponent },
|
||||
{ path: 'search', component: SearchPageComponent },
|
||||
{ path: 'popular', component: PopularComponent },
|
||||
{ path: 'trending', component: TrendingComponent },
|
||||
|
||||
|
||||
Reference in new issue
Block a user