Skip to content

Commit

Permalink
Merge pull request #39 from GeneralMagicio/staging
Browse files Browse the repository at this point in the history
Fix snapshot type error
  • Loading branch information
mmahdigh authored Jun 28, 2024
2 parents 5811df7 + a960f37 commit 577390d
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 577390d

Please sign in to comment.