Skip to content

Commit

Permalink
Merge pull request #30 from neynarxyz/kevin/fix-cursor
Browse files Browse the repository at this point in the history
fix cursor
  • Loading branch information
MrKevinOConnell authored Sep 6, 2024
2 parents 3fe40c2 + fd0096f commit c977c00
Show file tree
Hide file tree
Showing 7 changed files with 616 additions and 545 deletions.
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

0 comments on commit c977c00

Please sign in to comment.