import React from "react"; import { DishType } from "@/types/DishType"; import { UserType } from "@/types/UserType"; import UserDishCard from "@/components/features/dishes/UserDishCard"; import SectionTitle from "@/components/ui/SectionTitle"; import AddUserToDishForm from "@/components/features/dishes/AddUserToDishForm"; interface Props { dish: DishType; reloadDish: () => void; } const SyncUsersForm = ({ dish, reloadDish }: Props) => { return (
Users {dish.users.map((user: UserType) => ( ))}
); }; export default SyncUsersForm;