From 015805dc3f01e32be45260dbe530a372f49a1da4 Mon Sep 17 00:00:00 2001 From: Demian Parkhomenko <95881717+DemianParkhomenko@users.noreply.github.com> Date: Wed, 24 Jan 2024 02:00:23 +0200 Subject: [PATCH] Fix build --- src/utils/api/hooks.ts | 2 ++ src/utils/api/metacom.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/utils/api/hooks.ts b/src/utils/api/hooks.ts index 20df0bf..7b3a531 100644 --- a/src/utils/api/hooks.ts +++ b/src/utils/api/hooks.ts @@ -1,3 +1,5 @@ +'use client' + import { useToast } from '@/components/ui/use-toast' import { useCallback, useEffect, useRef, useState } from 'react' diff --git a/src/utils/api/metacom.ts b/src/utils/api/metacom.ts index 72d0dc6..29e66d4 100644 --- a/src/utils/api/metacom.ts +++ b/src/utils/api/metacom.ts @@ -1,3 +1,5 @@ +'use client' + import { useToast } from '@/components/ui/use-toast' import { URL_PRODUCT_API } from '@/constants' import { Metacom } from 'metacom'