From a960f376f5acd2867b6453b5876f14382aa29fc5 Mon Sep 17 00:00:00 2001 From: Mahdi Date: Fri, 28 Jun 2024 19:37:04 +0330 Subject: [PATCH] Fix snapshot type error --- src/utils/badges/snapshot.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/badges/snapshot.ts b/src/utils/badges/snapshot.ts index dfdfd3b..ee8c48b 100644 --- a/src/utils/badges/snapshot.ts +++ b/src/utils/badges/snapshot.ts @@ -29,8 +29,6 @@ export type RawSnapshotPoint = { | 'null'; }; -export const snapshotPoints = [...productionSnapshot, ...testAddresses] - const testAddresses = process.env.NODE_ENV === "production" ? [] : /* testing addresses */ [{ User: '0x316131DC685A63B1dbC8E0Fc6B893ec51CF159DA', @@ -198,7 +196,7 @@ const testAddresses = process.env.NODE_ENV === "production" ? [] : /* testing delegateAmount: 0, }] -export const productionSnapshot: RawSnapshotPoint[] = [ +const productionSnapshot: RawSnapshotPoint[] = [ { User: '0x07bf3cda34aa78d92949bbdce31520714ab5b228', holderPoints: 15, @@ -578690,3 +578688,5 @@ export const productionSnapshot: RawSnapshotPoint[] = [ delegateAmount: 0, }, ]; + +export const snapshotPoints = [...productionSnapshot, ...testAddresses] as RawSnapshotPoint[]