Remove console.logs
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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" });
|
||||
|
||||
Reference in New Issue
Block a user