fix: repost handler

This commit is contained in:
Shusui MOYATANI
2023-03-04 13:50:16 +09:00
parent a942cb2631
commit 07b20b2649

View File

@@ -160,7 +160,7 @@ const TextNote: Component<TextNoteProps> = (props) => {
'text-green-400': isRepostedByMe(), 'text-green-400': isRepostedByMe(),
}} }}
> >
<button class="h-4 w-4" onClick={handleReaction}> <button class="h-4 w-4" onClick={handleRepost}>
<ArrowPathRoundedSquare /> <ArrowPathRoundedSquare />
</button> </button>
<Show when={reposts().length > 0}> <Show when={reposts().length > 0}>