From 27c9cd506a06ced7deddb0de9e1026b4386cc05e Mon Sep 17 00:00:00 2001 From: Melnyk Mykhailo Date: Wed, 24 Jan 2024 18:53:31 +0200 Subject: [PATCH] fix imports of useapi hook for app page --- src/app/page.tsx | 3 ++- src/utils/api/index.ts | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index eec98e6..8da1f04 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -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() diff --git a/src/utils/api/index.ts b/src/utils/api/index.ts index 3e8bec1..8f3ad85 100644 --- a/src/utils/api/index.ts +++ b/src/utils/api/index.ts @@ -1,2 +1 @@ -export * from '@/hooks/use-api' export * from '@/utils/api/metacom'