Skip to content

Commit

Permalink
correct page name
Browse files Browse the repository at this point in the history
  • Loading branch information
dokmy committed Jan 13, 2024
1 parent 79dbae7 commit 3914293
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/app/(root)/(routes)/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { Label } from "@/components/ui/label";

type SearchWithResults = Search & { searchResults: SearchResult[] };

const dashboardPage = () => {
const DashboardPage = () => {
const [searches, setSearches] = useState<null | SearchWithResults[]>(null);
const { user } = useUser();
useEffect(() => {
Expand Down Expand Up @@ -146,4 +146,4 @@ const dashboardPage = () => {
);
};

export default dashboardPage;
export default DashboardPage;
4 changes: 2 additions & 2 deletions src/app/(root)/(routes)/results/[searchId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ interface SearchResult {

interface SearchResultsArray extends Array<SearchResult> {}

const resultsPage = async ({ params: { searchId } }: Props) => {
const ResultsPage = async ({ params: { searchId } }: Props) => {
const { userId } = await auth();

if (!userId) {
Expand All @@ -50,4 +50,4 @@ const resultsPage = async ({ params: { searchId } }: Props) => {
);
};

export default resultsPage;
export default ResultsPage;
4 changes: 2 additions & 2 deletions src/app/(root)/(routes)/search/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from "react";
import SearchForm from "./components/search-form";

const searchPage = () => {
const SearchPage = () => {
return (
<div>
<SearchForm />
</div>
);
};

export default searchPage;
export default SearchPage;
4 changes: 2 additions & 2 deletions src/app/(root)/(routes)/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import SubscriptionButton from "@/components/subcription-button";
import { checkSubscription } from "@/lib/subscriptions";

const settingsPage = async () => {
const SettingsPage = async () => {
const hasSubscription = await checkSubscription();

return (
Expand All @@ -20,4 +20,4 @@ const settingsPage = async () => {
);
};

export default settingsPage;
export default SettingsPage;

0 comments on commit 3914293

Please sign in to comment.