Skip to content

Commit

Permalink
fix: fix social auth
Browse files Browse the repository at this point in the history
  • Loading branch information
incredible-phoenix246 committed Jul 30, 2024
1 parent 845552d commit bbe7021
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 21 deletions.
3 changes: 3 additions & 0 deletions src/app/(landing-routes)/blog/[id]/BlogDetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ const mockSession: Session = {
user: {
name: "Current User",
email: "[email protected]",
id: "Strinf",
image: "Strinf",
access_token: "access_token",
},
expires: "2100-01-01T00:00:00.000Z",
};
Expand Down
8 changes: 7 additions & 1 deletion src/app/(landing-routes)/blog/comments/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ import { sampleComments } from "~/components/common/comment-component/sample-com
const CommentPage = () => {
const mockSession: Session = {
expires: "1",
user: { email: "a", name: "Adeyinka Akinsanya", image: "c" },
user: {
name: "Current User",
email: "[email protected]",
id: "Strinf",
image: "Strinf",
access_token: "access_token",
},
};
return (
<div className="my-6 flex items-center justify-center px-3 sm:px-4">
Expand Down
13 changes: 0 additions & 13 deletions src/lib/auth.react.ts

This file was deleted.

7 changes: 0 additions & 7 deletions src/lib/auth.ts

This file was deleted.

0 comments on commit bbe7021

Please sign in to comment.