Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
316 B
1
Indexable
Never
import { useParams } from 'react-router-dom';
import RecipeDetails from '../RecipeDetails';

function DrinksId() {
  const { id } = useParams<{ id: string }>();

  return (
    <div>
      <h1>Specific Drink</h1>
      <RecipeDetails RecipeType="drinks" RecipeId={ id } />
    </div>
  );
}
export default DrinksId;
Leave a Comment