Skip to content

Commit

Permalink
revert profile.ts
Browse files Browse the repository at this point in the history
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
  • Loading branch information
Phrosfire authored Feb 24, 2025
1 parent d9ba9d8 commit da0a960
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions app/src/server/api/routers/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1323,15 +1323,6 @@ export const fetchUpdatedUser = async (props: {
relationshipB: true,
},
},
home: user.home
? {
id: user.home.id,
name: user.home.homeType?.name ?? "Unknown",
regenBonus: user.home.homeType?.regenBonus ?? 0,
storageSlots: user.home.homeType?.storageSlots ?? 0,
cost: user.home.homeType?.cost ?? 0,
}
: null,
anbuSquad: {
columns: { name: true },
},
Expand Down Expand Up @@ -1668,13 +1659,6 @@ export type UserWithRelations =
loadout?: { jutsuIds: string[] } | null;
userQuests: UserQuest[];
votes?: UserVote | null;
home?: {
id: string;
name: string;
regenBonus: number;
storageSlots: number;
cost: number;
} | null;
})
| undefined;

Expand Down

0 comments on commit da0a960

Please sign in to comment.