Remove console.logs

This commit is contained in:
2022-03-03 22:11:40 -05:00
parent 20144ae130
commit 3a34f48e6c
7 changed files with 3 additions and 19 deletions

View File

@@ -47,7 +47,6 @@ const DataDirPicker: React.FC<Props> = () => {
next.value.name.endsWith(".esm") ||
next.value.name.endsWith(".esl"))
) {
console.log(next.value);
plugins.push(next.value);
}
}
@@ -55,8 +54,6 @@ const DataDirPicker: React.FC<Props> = () => {
plugins.forEach(async (plugin, index) => {
const file = await plugin.getFile();
console.log(file.lastModified);
console.log(file.lastModifiedDate);
const contents = new Uint8Array(await file.arrayBuffer());
try {
workers[index % workers.length].postMessage(

View File

@@ -143,7 +143,6 @@ const Map: React.FC = () => {
const selectCells = useCallback(
(cells: { x: number; y: number }[]) => {
console.log("selectCells");
if (!map.current) return;
if (map.current && !map.current.getSource("grid-source")) return;
@@ -234,7 +233,6 @@ const Map: React.FC = () => {
);
const clearSelectedCell = useCallback(() => {
console.log("clearSelectedCell");
setSelectedCell(null);
if (map.current) map.current.removeFeatureState({ source: "grid-source" });
if (map.current) {
@@ -247,7 +245,6 @@ const Map: React.FC = () => {
}, [map]);
const clearSelectedCells = useCallback(() => {
console.log("clearSelectedCells");
setSelectedCells(null);
if (map.current) {
map.current.removeFeatureState({ source: "selected-cell-source" });