Skip to content

Commit 61c380b

Browse files
committed
fixed icons in the main page
1 parent 2356940 commit 61c380b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/Header.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ import Search, { SearchProps } from './Search';
1111
const SearchBar = (props: SearchProps) => {
1212
const router = useRouter();
1313

14-
return (router.pathname === '/repos/[language]' && (
14+
return (router.pathname === '/repos/[language]' ?(
1515
<Search {...props} />
1616
)
17+
:
18+
<div className="hidden sm:inline-flex flex-1 max-w-md px-6 md:ml-5"></div>
1719
)
1820
}
1921

0 commit comments

Comments
 (0)