Skip to content

Commit 67a7d3e

Browse files
authored
[NEB-6814] Nebula: move outside of app layout, connect to smart wallet on login (#6816)
1 parent 755e5d4 commit 67a7d3e

File tree

835 files changed

+546
-404
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

835 files changed

+546
-404
lines changed

apps/dashboard/src/@/actions/acceptInvite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use server";
22

3-
import { getAuthToken } from "../../app/api/lib/getAuthToken";
3+
import { getAuthToken } from "../../app/(app)/api/lib/getAuthToken";
44
import { API_SERVER_URL } from "../constants/env";
55

66
export async function acceptInvite(options: {

apps/dashboard/src/@/actions/billing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import "server-only";
33

44
import { API_SERVER_URL } from "@/constants/env";
5-
import { getAuthToken } from "../../app/api/lib/getAuthToken";
5+
import { getAuthToken } from "../../app/(app)/api/lib/getAuthToken";
66
import type { ProductSKU } from "../lib/billing";
77

88
export type GetBillingCheckoutUrlOptions = {

apps/dashboard/src/@/actions/confirmEmail.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use server";
22

3-
import { getAuthToken } from "../../app/api/lib/getAuthToken";
3+
import { getAuthToken } from "../../app/(app)/api/lib/getAuthToken";
44
import { API_SERVER_URL } from "../constants/env";
55

66
export async function confirmEmailWithOTP(otp: string) {

apps/dashboard/src/@/actions/getAccount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use server";
22

3-
import { getRawAccount } from "../../app/account/settings/getAccount";
3+
import { getRawAccount } from "../../app/(app)/account/settings/getAccount";
44

55
export async function getRawAccountAction() {
66
return getRawAccount();

apps/dashboard/src/@/actions/getBalancesFromMoralis.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { defineDashboardChain } from "lib/defineDashboardChain";
33
import { ZERO_ADDRESS, isAddress, toTokens } from "thirdweb";
44
import { getWalletBalance } from "thirdweb/wallets";
5-
import { getUserThirdwebClient } from "../../app/api/lib/getAuthToken";
5+
import { getUserThirdwebClient } from "../../app/(app)/api/lib/getAuthToken";
66

77
type BalanceQueryResponse = Array<{
88
balance: string;

apps/dashboard/src/@/actions/proxies.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use server";
22

3-
import { getAuthToken } from "../../app/api/lib/getAuthToken";
3+
import { getAuthToken } from "../../app/(app)/api/lib/getAuthToken";
44
import { API_SERVER_URL } from "../constants/env";
55

66
type ProxyActionParams = {

apps/dashboard/src/@/actions/sendTeamInvite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use server";
22

3-
import { getAuthToken } from "../../app/api/lib/getAuthToken";
3+
import { getAuthToken } from "../../app/(app)/api/lib/getAuthToken";
44
import { API_SERVER_URL } from "../constants/env";
55

66
export async function sendTeamInvites(options: {

apps/dashboard/src/@/actions/updateAccount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"use server";
2-
import { getAuthToken } from "../../app/api/lib/getAuthToken";
2+
import { getAuthToken } from "../../app/(app)/api/lib/getAuthToken";
33
import { API_SERVER_URL } from "../constants/env";
44

55
export async function updateAccount(values: {

apps/dashboard/src/@/api/analytics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type {
1010
WalletStats,
1111
WalletUserStats,
1212
} from "types/analytics";
13-
import { getAuthToken } from "../../app/api/lib/getAuthToken";
13+
import { getAuthToken } from "../../app/(app)/api/lib/getAuthToken";
1414
import { getChains } from "./chain";
1515

1616
async function fetchAnalytics(

apps/dashboard/src/@/api/chain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import "server-only";
22
import type { ChainMetadata } from "thirdweb/chains";
3-
import type { ChainService } from "../../app/(dashboard)/(chain)/types/chain";
3+
import type { ChainService } from "../../app/(app)/(dashboard)/(chain)/types/chain";
44
import { API_SERVER_URL, THIRDWEB_API_SECRET } from "../constants/env";
55

66
export async function getGasSponsoredChains() {

0 commit comments

Comments
 (0)