mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-24 17:01:09 -04:00
Unstick like
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user