Fix: Button needs type

This commit is contained in:
Donatas Kirda 2024-05-20 23:03:33 +03:00
parent 262eef8415
commit 1ef85ee0ee
Signed by: bloodwiing
GPG Key ID: 63020D8D3F4A164F

View File

@ -109,7 +109,7 @@
<GlowFX borderRadius={18} opacity={0.7} style="flex: 1;">
<div class="postCardOutline" style={opened ? "opacity: 0.0;" : "opacity: 1.0;"}>
<button class="postCard" on:click={() => {dispatch('previewPost', {post: post});}}>
<button type="button" class="postCard" on:click={() => {dispatch('previewPost', {post: post});}}>
<div class="mentionBar">
<Mention user={post.author}></Mention>
<span class="dot typeContent"></span>