Skip to content

Commit

Permalink
fix imports of useapi hook for app page
Browse files Browse the repository at this point in the history
  • Loading branch information
dEdmishka committed Jan 24, 2024
1 parent 39c731a commit 27c9cd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
'use client'

import { Button } from '@/components/ui/button'
import { useApi } from '@/hooks/use-api'
import { useToast } from '@/hooks/use-toast'
import { useApi, useApiContext } from '@/utils'
import { useApiContext } from '@/utils'

const Home = () => {
const api = useApiContext()
Expand Down
1 change: 0 additions & 1 deletion src/utils/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from '@/hooks/use-api'
export * from '@/utils/api/metacom'

0 comments on commit 27c9cd5

Please sign in to comment.