diff --git a/convex/util.ts b/convex/util.ts index fe9fcff..d7606fe 100644 --- a/convex/util.ts +++ b/convex/util.ts @@ -97,10 +97,3 @@ async function getUserOrThrow(ctx: QueryCtx | MutationCtx) { export const getUser = async (ctx: QueryCtx | MutationCtx | ActionCtx) => { return await ctx.auth.getUserIdentity(); }; - -export const getUserById = async ( - ctx: QueryCtx | MutationCtx, - userId: string -) => { - return ctx.db; -}; diff --git a/src/app/profile/[userId]/page.tsx b/src/app/profile/[userId]/page.tsx index 19921d0..d450bb9 100644 --- a/src/app/profile/[userId]/page.tsx +++ b/src/app/profile/[userId]/page.tsx @@ -115,7 +115,7 @@ export default function ProfilePage() { const unfollowUser = useMutation(api.follows.unfollowUser); return ( -
+
@@ -147,8 +147,9 @@ export default function ProfilePage() { )}
+
-

Thumbnails

+

Thumbnails

diff --git a/src/app/thumbnails/[thumbnailId]/page.tsx b/src/app/thumbnails/[thumbnailId]/page.tsx index 042b72b..4333bd2 100644 --- a/src/app/thumbnails/[thumbnailId]/page.tsx +++ b/src/app/thumbnails/[thumbnailId]/page.tsx @@ -167,7 +167,7 @@ export default function ThumbnailPage() { {/* {!hasVoted && ( */} <> - +