2023-10-15 10:58:44 -04:00
|
|
|
"use client";
|
|
|
|
import Link from "next/link";
|
|
|
|
|
|
|
|
type EventMentionProps = {
|
|
|
|
mention: string;
|
|
|
|
};
|
|
|
|
|
|
|
|
export default function EventMention({ mention }: EventMentionProps) {
|
|
|
|
// const { user } = useProfile(mention);
|
|
|
|
return (
|
|
|
|
<Link href={`/${mention}`}>
|
2023-10-20 18:26:53 -04:00
|
|
|
<span className="text-primary hover:underline">{`*\$${mention}`}</span>
|
2023-10-15 10:58:44 -04:00
|
|
|
</Link>
|
|
|
|
);
|
|
|
|
}
|