"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import React from "react"; import Card from "@/components/ui/card/card"; interface ButtonData { label: string; url: string; } interface ProfileAsideProps { buttons: ButtonData[]; } const ProfileAside = (props: ProfileAsideProps) => { const pathname = usePathname(); return ( {props.buttons.map((button) => ( {button.label} ))} ); }; export default ProfileAside;