Skip to content

Commit 906c7af

Browse files
committed
refactor: remove unused SearchPage component and comment out BlockSearch in Header
1 parent deb1345 commit 906c7af

File tree

3 files changed

+5
-19
lines changed

3 files changed

+5
-19
lines changed

web/src/app/(content)/search-user/page.tsx

Lines changed: 0 additions & 16 deletions
This file was deleted.

web/src/modules/search/components/SearchPageComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export const SearchPageComponent = () => {
133133
<>
134134
{/* User Cards */}
135135
<div className='grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4'>
136-
{data.map((user) => (
136+
{data.map((user: any) => (
137137
<UserCard key={user.id} user={user} />
138138
))}
139139
</div>

web/src/modules/shared/components/layout/Header.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
getUserData,
1414
} from '@web/src/modules/auth/features/auth.utils';
1515

16-
import { BlockSearch } from './BlockSearchProps';
1716
import { BlockTab } from './BlockTab';
1817
import { NavLinks } from './NavLinks';
1918
import { RandomSongButton } from './RandomSongButton';
@@ -108,7 +107,10 @@ export const Header = async () => {
108107
id='about-tab'
109108
/>
110109
<RandomSongButton />
111-
<BlockSearch />
110+
{/*
111+
// TODO: feature song search
112+
<BlockSearch />
113+
*/}
112114
</div>
113115

114116
{/* Sign in / Profile */}

0 commit comments

Comments
 (0)