feat: only show edit button when logged in

This commit is contained in:
2023-08-09 15:47:37 +02:00
parent 936ed32b11
commit f066b4e5e4
6 changed files with 46 additions and 22 deletions

View File

@ -5,9 +5,12 @@ export const HashTags = ({ tags }: { tags: string[] }) => {
>
{tags.map((t) => {
return (
<span class="bg-gray-700 text-white p-2 rounded-xl text-sm">
<a
class="bg-gray-700 text-white p-2 rounded-xl text-sm"
href={`/?q=%23${t}`}
>
#{t}
</span>
</a>
);
})}
</div>