Skip to content

Commit

Permalink
suspense searchbar
Browse files Browse the repository at this point in the history
  • Loading branch information
calvo-jp committed Mar 26, 2024
1 parent 6965129 commit a278605
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/** BUILD: 2x */

import Link from 'next/link';
import {Suspense} from 'react';
import {Searchbar} from './searchbar';
import {getIcons} from './utils';

Expand Down Expand Up @@ -29,7 +30,9 @@ export default async function IconsPage({searchParams}: Props) {

return (
<>
<Searchbar />
<Suspense>
<Searchbar />
</Suspense>

<div
className="mb-3 mt-5 text-sm lg:mt-8"
Expand Down

0 comments on commit a278605

Please sign in to comment.