import React, { FC } 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: FC = ({ dish, reloadDish }) => { return (
Users {dish.users.map((user: UserType) => ( ))}
); }; export default SyncUsersForm;