import React from "react"; import { useOnlineStatus } from "../../hooks"; import { Button } from "../../ui/atoms/button"; import { DropdownMenu, DropdownMenuWrapper } from "../../ui/molecules/dropdown"; import { Checkbox } from "../../ui/atoms/checkbox"; import { getCategoryByPathname } from "../../utils"; import { _getIconLabel } from "../common"; import "./index.scss"; export default function WatchedCardListItem({ item, onUnwatched, toggleSelected, }) { const [show, setShow] = React.useState(false); const { isOnline } = useOnlineStatus(); const iconClass = getCategoryByPathname(item.url); const iconLabel = _getIconLabel(item.url); return (
This is a note, lets keep it.
*/}