Skip to content

Commit

Permalink
fix: move referrals hook
Browse files Browse the repository at this point in the history
  • Loading branch information
travis committed Nov 6, 2024
1 parent 66e1026 commit 1f6c1fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/referrals/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import CopyButton from '@/components/CopyButton'
import DefaultLoader from '@/components/Loader'
import { H1, H3 } from '@/components/Text'
import { useReferrals } from '@/lib/hooks'
import { useReferrals } from '@/lib/referrals/hooks'

export const runtime = "edge"

Expand Down
2 changes: 1 addition & 1 deletion src/lib/hooks.ts → src/lib/referrals/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { useState } from 'react'
import useSWR from "swr"
import { useW3 } from "@w3ui/react"
import { createRefcode } from './referrals'
import { createRefcode } from '../referrals'

interface RefcodeResult {
refcode: string
Expand Down

0 comments on commit 1f6c1fa

Please sign in to comment.