diff --git a/components/following-button.tsx b/components/following-button.tsx index 71b56e7cd3934355daf9dc75dfd0a0195e29ad6f..af3f477154482518863ab563d5ebcb1fa11cf031 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 9c7d3c379caf5307ab5838c77c0c27a4bee558da..be7c652973df7a5f4d0e5bb4871cfb8b71184eee 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';