diff --git a/interfaces/index.ts b/interfaces/index.ts deleted file mode 100644 index 68528c5..0000000 --- a/interfaces/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -// You can include shared interfaces/types in a separate file -// and then use them in any component by importing them. For -// example, to import the interface below do: -// -// import { User } from 'path/to/interfaces'; - -export type User = { - id: number - name: string -} diff --git a/pages/api/robes/index.ts b/pages/api/robes/index.ts index 01d87df..8026727 100644 --- a/pages/api/robes/index.ts +++ b/pages/api/robes/index.ts @@ -42,7 +42,7 @@ const fetchRobes = async () => { BigNumber.from(a.sell_orders[0].current_price.split('.')[0]), ), ), - url: a.permalink, + url: a.permalink + '?ref=0xfb843f8c4992efdb6b42349c35f025ca55742d33', svg: a.image_url, } }) diff --git a/pages/index.tsx b/pages/index.tsx index 719364a..832748c 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -45,11 +45,19 @@ const IndexPage = ({ robes, lastUpdate }: Props) => {

Site by{' '} - + worm_emoji . Join the{' '} - + Discord . diff --git a/utils/sample-data.ts b/utils/sample-data.ts deleted file mode 100644 index 1dd38ec..0000000 --- a/utils/sample-data.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { User } from '../interfaces' - -/** Dummy user data. */ -export const sampleUserData: User[] = [ - { id: 101, name: 'Alice' }, - { id: 102, name: 'Bob' }, - { id: 103, name: 'Caroline' }, - { id: 104, name: 'Dave' }, -]