Skip to content

Commit

Permalink
made some small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitdotdev committed Jun 27, 2024
1 parent b5601a9 commit 4fa06b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Abel Chang
Copyright (c) 2024 Lalit Sharma

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 1 addition & 3 deletions src/app/feed/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { db } from "@/lib/db";
import { getAuthSession } from "@/lib/auth";

export function generateMetadata({

}: {
searchParams: Record<string, string>;
}): Metadata {
Expand All @@ -27,7 +26,7 @@ const page = async () => {
}

const communities = await db.community.findMany({
take: 8,
take: 7,
orderBy: {
subscribers: {
_count: "desc",
Expand Down Expand Up @@ -78,7 +77,6 @@ const page = async () => {
{session ? <CustomFeed /> : <GeneralFeed />}
<RightAside communities={communities} newJobPostings={newJobPostings} />


</div>
</div>
);
Expand Down

0 comments on commit 4fa06b5

Please sign in to comment.