mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
remove console logs and useless stuff
This commit is contained in:
@@ -16,8 +16,6 @@ export const DeleteMapsModal: ModalComponent<void, {linked: boolean, maps: BsmLo
|
||||
const infoText = multiple ? "modals.maps-actions.delete-maps.info.desc.multiple" : "modals.maps-actions.delete-maps.info.desc.single";
|
||||
const infoTitleText = multiple ? "modals.maps-actions.delete-maps.info.title.multiple" : "modals.maps-actions.delete-maps.info.title.single";
|
||||
|
||||
console.log(maps);
|
||||
|
||||
return (
|
||||
<form className="text-gray-800 dark:text-gray-200">
|
||||
<h1 className="text-3xl uppercase tracking-wide w-full text-center">{t(titleText)}</h1>
|
||||
|
||||
@@ -31,7 +31,6 @@ export function Modal() {
|
||||
}
|
||||
|
||||
return () => {
|
||||
console.log("oui");
|
||||
window.removeEventListener("keyup", onEscape);
|
||||
}
|
||||
}, [ModalComponent])
|
||||
|
||||
@@ -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 || "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user