Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

fix cursor #30

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tabs": "^1.1.0",
"axios": "^1.6.8",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
Expand Down
5 changes: 3 additions & 2 deletions src/app/[identifier]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import CastSearch from '@/components/CastSearch';
import NetworkResponse from '@/components/NetworkResponse';
import Search from '@/components/search';
import SearchComponent from '@/components/SearchComponent';

interface ResponseProps {
params: { identifier: string };
Expand Down Expand Up @@ -36,11 +37,11 @@ export default function Page({ params }: ResponseProps) {
</div>
</div>

<div className="flex pb-4">
<div className="flex ">
<Search />
</div>
{isSearch ? (
<CastSearch initialQuery={encodeURIComponent(identifier)} />
<SearchComponent initialQuery={encodeURIComponent(identifier)} />
) : (
<NetworkResponse identifier={identifier} />
)}
Expand Down
Loading