Skip to content

Commit

Permalink
Fix snapshot type error
Browse files Browse the repository at this point in the history
  • Loading branch information
mmahdigh committed Jun 28, 2024
1 parent 0223a0f commit a960f37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/badges/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export type RawSnapshotPoint = {
| 'null';
};

export const snapshotPoints = [...productionSnapshot, ...testAddresses]

const testAddresses = process.env.NODE_ENV === "production" ? [] : /* testing addresses */
[{
User: '0x316131DC685A63B1dbC8E0Fc6B893ec51CF159DA',
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -578690,3 +578688,5 @@ export const productionSnapshot: RawSnapshotPoint[] = [
delegateAmount: 0,
},
];

export const snapshotPoints = [...productionSnapshot, ...testAddresses] as RawSnapshotPoint[]

0 comments on commit a960f37

Please sign in to comment.