Unstick like

This commit is contained in:
MartinBraquet
2025-09-11 14:48:36 +02:00
parent 802367c914
commit d62447a12a
2 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ export function LoverProfile(props: {
{areCompatible &&
((!fromLoverPage && !isCurrentUser) ||
(fromLoverPage && fromLoverPage.user_id === currentUser?.id)) && (
<Row className="sticky bottom-[70px] right-0 mr-1 self-end lg:bottom-6">
<Row className="right-0 mr-1 self-end lg:bottom-6">
<LikeButton targetLover={lover} liked={liked} refresh={refresh} />
</Row>
)}

View File

@@ -69,7 +69,7 @@ export const LikeButton = (props: {
<div className="p-2 pb-0 pt-0">{liked ? <>Liked!</> : <>Like</>}</div>
</Col>
</button>
<LikeConfimationDialog
<LikeConfirmationDialog
targetLover={targetLover}
hasFreeLike={hasFreeLike}
submit={like}
@@ -86,7 +86,7 @@ export const LikeButton = (props: {
)
}
const LikeConfimationDialog = (props: {
const LikeConfirmationDialog = (props: {
targetLover: Lover
hasFreeLike: boolean
open: boolean