fix: duplication error

This commit is contained in:
2026-01-21 12:57:58 -05:00
parent 58d48dac70
commit 7b60494d6d
6 changed files with 11 additions and 12 deletions

View File

@@ -8,14 +8,14 @@ export interface PostLike {
post_id: string;
}
export interface SessionDependantLikeProps {
export interface AuthenticatedLikeProps {
currentUserID: string | undefined | null;
isAuthenticated: boolean;
likes: PostLike[];
projectID: number;
}
export default function SessionDependantLike(props: SessionDependantLikeProps) {
export default function AuthenticatedLike(props: AuthenticatedLikeProps) {
const [hovering, setHovering] = createSignal(false);
const [likes, setLikes] = createSignal(props.likes);
const [instantOffset, setInstantOffset] = createSignal(0);