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

Commit

Permalink
add channel search
Browse files Browse the repository at this point in the history
  • Loading branch information
kevoconnell committed Sep 4, 2024
1 parent d0e332d commit 3fe40c2
Show file tree
Hide file tree
Showing 4 changed files with 239 additions and 135 deletions.
8 changes: 8 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 @@ -44,6 +44,7 @@
"uuid": "^10.0.0"
},
"devDependencies": {
"@types/lodash": "^4.17.7",
"@types/node": "^20",
"@types/nprogress": "^0.2.3",
"@types/react": "^18",
Expand Down
2 changes: 1 addition & 1 deletion src/app/[identifier]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function Page({ params }: ResponseProps) {
<Search />
</div>
{isSearch ? (
<CastSearch query={encodeURIComponent(identifier)} />
<CastSearch initialQuery={encodeURIComponent(identifier)} />
) : (
<NetworkResponse identifier={identifier} />
)}
Expand Down
Loading

0 comments on commit 3fe40c2

Please sign in to comment.