remove useless console.log

This commit is contained in:
MathieuG-P
2022-10-04 01:49:13 +02:00
parent 9d2ec1166e
commit 4702f67767
4 changed files with 4 additions and 9 deletions
@@ -6,9 +6,7 @@ type Props = {className?: string, nbClickToShow?: number, children?: JSX.Element
export function SpoilerClick({className, children, nbClickToShow = 5}: Props) {
const [remainingClicks, setRemainingClicks] = useState(nbClickToShow);
const [translateY, setTranslateY] = useState("100%")
console.log(translateY);
const [translateY, setTranslateY] = useState("100%");
const handleClicks = () => {
if(remainingClicks - 1 > 0){ setRemainingClicks(nb => nb - 1); }
@@ -6,8 +6,7 @@ import { getCorrectTextColor } from "renderer/helpers/correct-text-color"
type Props = {className?:string, checked?: boolean, onChange?: (val: boolean) => void, disabled?: boolean}
export function BsmCheckbox({className, checked, onChange, disabled} : Props) {
if(checked){ console.log(checked) }
const checkedColor = useThemeColor("first-color");
const iconColor = getCorrectTextColor(checkedColor);