diff --git a/client/lib/aethex-database-adapter.ts b/client/lib/aethex-database-adapter.ts index 5323e6b4..c3046fdb 100644 --- a/client/lib/aethex-database-adapter.ts +++ b/client/lib/aethex-database-adapter.ts @@ -212,39 +212,6 @@ export interface ActivateRewardsResponse { targetUserId?: string | null; } -const fallbackInterests = new Map(); - -const fallbackAchievementCatalog: ReadonlyArray = [ - { - id: "welcome-to-aethex", - name: "Welcome to AeThex", - description: "Complete your AeThex passport to unlock the community.", - icon: "sparkles", - xp_reward: 150, - badge_color: "#7C3AED", - created_at: "2024-01-01T00:00:00.000Z", - }, - { - id: "aethex-explorer", - name: "AeThex Explorer", - description: "Link your favorite tools and showcase your craft.", - icon: "compass", - xp_reward: 200, - badge_color: "#06B6D4", - created_at: "2024-01-01T00:00:00.000Z", - }, -]; - -const fallbackAchievementsById = new Map( - fallbackAchievementCatalog.map((achievement) => [achievement.id, achievement]), -); - -const fallbackAchievementsByName = new Map( - fallbackAchievementCatalog.map((achievement) => [achievement.name, achievement]), -); - -const fallbackUserAchievements = new Map>(); - function isTableMissing(err: any): boolean { const msg = String(err?.message || err?.hint || err?.details || ""); return (