mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-30 22:19:50 +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 () => {
|
||||
let filtered = tankDefinitionsArray;
|
||||
|
||||
console.log("A");
|
||||
|
||||
if (tankopediaSort.by !== null) {
|
||||
console.log("B", filtered.length);
|
||||
|
||||
filtered = filtered.filter((tank) =>
|
||||
defaultCharacteristics.get(tank.id)!.has(tankopediaSort.by!),
|
||||
);
|
||||
|
||||
console.log("C", filtered.length);
|
||||
}
|
||||
|
||||
if (tankFilters.search === null) {
|
||||
@@ -184,8 +178,6 @@ export const TankSearch = memo<TankSearchProps>(
|
||||
});
|
||||
}, [tankFilters, tankopediaSort]);
|
||||
|
||||
console.log("V", sorted.length);
|
||||
|
||||
const sortConfig =
|
||||
tankopediaSort.by !== null &&
|
||||
sortableCharacteristics.has(tankopediaSort.by)
|
||||
|
||||
@@ -203,8 +203,6 @@ export function CustomShellButton() {
|
||||
step={Number.EPSILON}
|
||||
defaultValue={[customShell.normalization ?? 0]}
|
||||
onValueChange={([value]) => {
|
||||
console.log("asd");
|
||||
|
||||
Tankopedia.mutate((draft) => {
|
||||
draft.customShell!.normalization = value;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user