fix for deploy

This commit is contained in:
Zikil 2024-11-23 20:49:21 +07:00
parent 53920d41ef
commit a1507c4c62
2 changed files with 4 additions and 3 deletions

View File

@ -6,9 +6,9 @@ import ListingCard from '../ListingCard'
import { Adt } from '@prisma/client'
import toast from 'react-hot-toast'
interface BlockAdtsProps {}
// interface BlockAdtsProps {}
export const BlockAdts: FC<BlockAdtsProps> = () => {
export const BlockAdts: FC = () => {
// Состояния для хранения объявлений и управления их отображением
const [adts, setAdts] = useState<Adt[]>([]) // Массив объявлений

View File

@ -4,10 +4,11 @@ import { Dialog, DialogContent } from "@/components/ui/dialog";
import { getUserSession } from "@/lib/get-user-session";
import React from "react";
import { Phone } from "lucide-react";
import { Session } from "next-auth";
interface Props {
phoneNumber: string;
session: any;
session: Session["user"] | null;
}
export const ShowNumberModal: React.FC<Props> = ({ phoneNumber, session }) => {