remove console logs and useless stuff

This commit is contained in:
MathieuG-P
2022-12-27 00:11:29 +01:00
parent 4cb9482e27
commit a1aeab1d90
9 changed files with 2 additions and 19 deletions
@@ -22,8 +22,6 @@ type Props = {
export function BsmDropdownButton({className, items, align, withBar = true, icon = "settings", buttonClassName, menuTranslationY, children, text, textClassName}: Props) {
console.log("DROPDOWN", items);
const [expanded, setExpanded] = useState(false)
const t = useTranslation();
const ref = useRef(null)
@@ -27,7 +27,6 @@ export const BsmImage = forwardRef(({className, image, errorImage, placeholder,
})();
const handleError = (e: SyntheticEvent<HTMLImageElement, Event>) => {
console.log("ERROR");
e.currentTarget.onerror = null;
e.currentTarget.src = errorImage || "";
}