mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-31 06:29:51 +01:00
remove debug console logs
This commit is contained in:
1 parent
4694d495bb
commit
dc9c20db84
2 files changed
-10
No files matched your search
@@ -79,16 +79,10 @@ export const TankSearch = memo<TankSearchProps>(
|
|||||||
async () => {
|
async () => {
|
||||||
let filtered = tankDefinitionsArray;
|
let filtered = tankDefinitionsArray;
|
||||||
|
|
||||||
console.log("A");
|
|
||||||
|
|
||||||
if (tankopediaSort.by !== null) {
|
if (tankopediaSort.by !== null) {
|
||||||
console.log("B", filtered.length);
|
|
||||||
|
|
||||||
filtered = filtered.filter((tank) =>
|
filtered = filtered.filter((tank) =>
|
||||||
defaultCharacteristics.get(tank.id)!.has(tankopediaSort.by!),
|
defaultCharacteristics.get(tank.id)!.has(tankopediaSort.by!),
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log("C", filtered.length);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tankFilters.search === null) {
|
if (tankFilters.search === null) {
|
||||||
@@ -184,8 +178,6 @@ export const TankSearch = memo<TankSearchProps>(
|
|||||||
});
|
});
|
||||||
}, [tankFilters, tankopediaSort]);
|
}, [tankFilters, tankopediaSort]);
|
||||||
|
|
||||||
console.log("V", sorted.length);
|
|
||||||
|
|
||||||
const sortConfig =
|
const sortConfig =
|
||||||
tankopediaSort.by !== null &&
|
tankopediaSort.by !== null &&
|
||||||
sortableCharacteristics.has(tankopediaSort.by)
|
sortableCharacteristics.has(tankopediaSort.by)
|
||||||
|
|||||||
@@ -203,8 +203,6 @@ export function CustomShellButton() {
|
|||||||
step={Number.EPSILON}
|
step={Number.EPSILON}
|
||||||
defaultValue={[customShell.normalization ?? 0]}
|
defaultValue={[customShell.normalization ?? 0]}
|
||||||
onValueChange={([value]) => {
|
onValueChange={([value]) => {
|
||||||
console.log("asd");
|
|
||||||
|
|
||||||
Tankopedia.mutate((draft) => {
|
Tankopedia.mutate((draft) => {
|
||||||
draft.customShell!.normalization = value;
|
draft.customShell!.normalization = value;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user