Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Chirag authored and Chirag committed Aug 9, 2024
1 parent e786e4a commit 14bd2db
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/merchant-app/app/api/auth/[...nextauth]/route.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import NextAuth from "next-auth"
import { authOptions } from "../../../../lib/auth"

//@ts-ignore
const handler = NextAuth(authOptions)

export { handler as GET, handler as POST }
4 changes: 2 additions & 2 deletions apps/merchant-app/app/api/user/route.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NextResponse } from "next/server"
import { PrismaClient } from "@repo/db/client";

import PrismaClient from "@repo/db/client";
//@ts-ignore
const client = new PrismaClient();

export const GET = async () => {
Expand Down
2 changes: 1 addition & 1 deletion apps/merchant-app/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use client";

//@ts-ignore
import { useBalance } from "@repo/store/balance";

export default function() {
Expand Down
1 change: 1 addition & 0 deletions apps/merchant-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"dependencies": {
"@repo/db": "*",
"@repo/store": "*",
"@repo/db/client": "*",
"@repo/ui": "*",
"next": "^14.1.1",
"next-auth": "^4.24.7",
Expand Down
2 changes: 1 addition & 1 deletion apps/user-app/app/(dashboard)/transactions/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function getOnRampTransactions(status: any) {
status: status,
},
})
return txns.map((t: any) => ({
return txns.map((t) => ({
time: t.startTime,
amount: t.amount,
status: t.status,
Expand Down
1 change: 1 addition & 0 deletions apps/user-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"dependencies": {
"@repo/store": "*",
"@repo/ui": "*",
"@repo/db/client": "*",
"@types/bcrypt": "^5.0.2",
"bcrypt": "^5.1.1",
"next": "^14.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"recoil": "^0.7.7"
},
"exports": {
"./balance": "./src/hooks/useBalance"
"./balance": "./src/hooks/useBalance/"
}
}

0 comments on commit 14bd2db

Please sign in to comment.