Skip to content

Commit

Permalink
fix(mfi-v2-ui): build
Browse files Browse the repository at this point in the history
  • Loading branch information
losman0s committed Sep 26, 2023
1 parent f792d27 commit 9d175b6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion apps/marginfi-v2-ui/src/pages/api/user/get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { NextApiResponse } from "next";
import { NextApiRequest, getFirebaseUserByWallet, initFirebaseIfNeeded } from "./utils";
import { getFirebaseUserByWallet, initFirebaseIfNeeded } from "./utils";
import { NextApiRequest } from "../utils";
import { STATUS_INTERNAL_ERROR, STATUS_NOT_FOUND, STATUS_OK, firebaseApi } from "@mrgnlabs/marginfi-v2-ui-state";

initFirebaseIfNeeded();
Expand Down
3 changes: 2 additions & 1 deletion apps/marginfi-v2-ui/src/pages/api/user/login.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as admin from "firebase-admin";
import * as Sentry from "@sentry/nextjs";
import { NextApiRequest, getFirebaseUserByWallet, initFirebaseIfNeeded, logLoginAttempt } from "./utils";
import { getFirebaseUserByWallet, initFirebaseIfNeeded, logLoginAttempt } from "./utils";
import { NextApiRequest } from "../utils";
import { MEMO_PROGRAM_ID } from "@mrgnlabs/mrgn-common";
import { PublicKey, Transaction } from "@solana/web3.js";
import base58 from "bs58";
Expand Down
4 changes: 3 additions & 1 deletion apps/marginfi-v2-ui/src/pages/api/user/signup.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import * as admin from "firebase-admin";
import * as Sentry from "@sentry/nextjs";
import {
NextApiRequest,
createFirebaseUser,
getFirebaseUserByWallet,
initFirebaseIfNeeded,
logSignupAttempt,
} from "./utils";
import {
NextApiRequest,
} from "../utils";
import { is } from "superstruct";
import { MEMO_PROGRAM_ID } from "@mrgnlabs/mrgn-common";
import { PublicKey, Transaction } from "@solana/web3.js";
Expand Down

0 comments on commit 9d175b6

Please sign in to comment.