import { useState } from 'react'

const Like = ({ storageKey, likes }) => {
    const [hasLiked, setHasLiked] = useState(false)

    setHasLiked(window.localStorage.getItem(storageKey) === 'true')
})