chore: remove testing value in like button component
whoops
This commit is contained in:
parent
75bd7281e4
commit
a00d375ca3
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ interface Props {
|
||||||
|
|
||||||
export default function LikeButton({ likes, isLiked, miiId, isLoggedIn, disabled, abbreviate, big }: Props) {
|
export default function LikeButton({ likes, isLiked, miiId, isLoggedIn, disabled, abbreviate, big }: Props) {
|
||||||
const [isLikedState, setIsLikedState] = useState(isLiked);
|
const [isLikedState, setIsLikedState] = useState(isLiked);
|
||||||
const [likesState, setLikesState] = useState(10000);
|
const [likesState, setLikesState] = useState(likes);
|
||||||
|
|
||||||
const onClick = async () => {
|
const onClick = async () => {
|
||||||
if (disabled) return;
|
if (disabled) return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue