From 80bb82cbe6f5fb99dc1edeb9a53d5e988d9f80f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20Akg=C3=BCl?= <s86116@bht-berlin.de> Date: Wed, 31 May 2023 16:33:00 +0200 Subject: [PATCH] client side fix --- components/following-button.tsx | 2 ++ components/following-users.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/components/following-button.tsx b/components/following-button.tsx index 71b56e7..af3f477 100644 --- a/components/following-button.tsx +++ b/components/following-button.tsx @@ -1,3 +1,5 @@ +"use client" + import { PrismaClient } from '@prisma/client'; import { useState } from 'react'; import { Button } from './ui/button'; diff --git a/components/following-users.tsx b/components/following-users.tsx index 9c7d3c3..be7c652 100644 --- a/components/following-users.tsx +++ b/components/following-users.tsx @@ -1,3 +1,5 @@ +"use client" + import { PrismaClient } from '@prisma/client'; import { useEffect, useState } from 'react'; -- GitLab