Skip to content

Commit

Permalink
Merge branch 'dev' into ssr-meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei authored Oct 18, 2024
2 parents 525c171 + fa2d0f3 commit 746b3f5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion apps/renderer/src/modules/wallet/balance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const Balance = ({
withSuffix?: boolean
withTooltip?: boolean
}) => {
const n = [BigInt(children) || BigInt(value || 0n), 18] as const
const n = [BigInt(children || 0n) || BigInt(value || 0n), 18] as const
const formatted = format(n, { digits: precision, trailingZeros: true })
const formattedFull = format(n, { digits: 18, trailingZeros: true })

Expand Down
1 change: 1 addition & 0 deletions locales/errors/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"4002": "Insufficient balance",
"4003": "Feed insufficient withdrawable balance",
"4004": "Target user wallet error",
"4005": "Daily power calculation in progress",
"5000": "Invitation limit exceeded. Please try again in a few days.",
"5001": "Invitation already exists.",
"5002": "Invitation code already used.",
Expand Down
20 changes: 0 additions & 20 deletions packages/shared/src/hono.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4365,22 +4365,6 @@ declare const levels: drizzle_orm_pg_core.PgTableWithColumns<{
baseColumn: never;
generated: undefined;
}, {}, {}>;
statusUpdatedAt: drizzle_orm_pg_core.PgColumn<{
name: "status_updated_at";
tableName: "levels";
dataType: "date";
columnType: "PgTimestamp";
data: Date;
driverParam: string;
notNull: false;
hasDefault: false;
isPrimaryKey: false;
isAutoincrement: false;
hasRuntimeDefault: false;
enumValues: undefined;
baseColumn: never;
generated: undefined;
}, {}, {}>;
powerToken: drizzle_orm_pg_core.PgColumn<{
name: "power_token";
tableName: "levels";
Expand Down Expand Up @@ -4422,7 +4406,6 @@ declare const levelsOpenAPISchema: zod.ZodObject<{
level: zod.ZodNullable<zod.ZodNumber>;
prevActivityPoints: zod.ZodNullable<zod.ZodNumber>;
activityPoints: zod.ZodNullable<zod.ZodNumber>;
statusUpdatedAt: zod.ZodNullable<zod.ZodString>;
powerToken: zod.ZodString;
userId: zod.ZodString;
}, zod.UnknownKeysParam, zod.ZodTypeAny, {
Expand All @@ -4433,7 +4416,6 @@ declare const levelsOpenAPISchema: zod.ZodObject<{
level: number | null;
prevActivityPoints: number | null;
activityPoints: number | null;
statusUpdatedAt: string | null;
}, {
userId: string;
address: string;
Expand All @@ -4442,7 +4424,6 @@ declare const levelsOpenAPISchema: zod.ZodObject<{
level: number | null;
prevActivityPoints: number | null;
activityPoints: number | null;
statusUpdatedAt: string | null;
}>;
declare const levelsRelations: drizzle_orm.Relations<"levels", {
wallet: drizzle_orm.One<"wallets", true>;
Expand Down Expand Up @@ -5149,7 +5130,6 @@ declare const _routes: hono_hono_base.HonoBase<Env, {
level: number | null;
prevActivityPoints: number | null;
activityPoints: number | null;
statusUpdatedAt: string | null;
}[];
};
outputFormat: "json" | "text";
Expand Down

0 comments on commit 746b3f5

Please sign in to comment.