Skip to content

Commit

Permalink
move routes
Browse files Browse the repository at this point in the history
  • Loading branch information
nl32 committed Oct 22, 2024
1 parent a960123 commit 21c5895
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { api } from '@src/trpc/react';
import type { SelectClub as Club } from '@src/server/db/models';
import { type Session } from 'next-auth';
import ClubCard from './club/ClubCard';
import ClubCard from '@src/components/club/ClubCard';

interface ClubSearchComponentProps {
userSearch: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Header from '@src/components/header/BaseHeader';
import { ClubSearchComponent } from '@src/components/ClubSearchComponent';
import { ClubSearchComponent } from './ClubSearch';
import { getServerAuthSession } from '@src/server/auth';

type Params = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/searchBar/ClubSearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const ClubSearchBar = () => {
onClick={onClickSearchResult}
submitButton
submitLogic={() => {
router.push(`/clubSearch?search=${encodeURIComponent(search)}`);
router.push(`/directory/search?search=${encodeURIComponent(search)}`);
}}
/>
);
Expand Down

0 comments on commit 21c5895

Please sign in to comment.