fix: some linting

This commit is contained in:
TrèsAbhi committed 2024-10-09 10:29:42 -05:00
1 parent ae0e2f45dc
commit 66f33746cb
30 files changed
+82 -1856

No files matched your search

@@ -32,9 +32,6 @@ export const TankModel = memo(() => {
turretModelDefinition.guns[protagonist.gun.gun_type!.value.base.id];
const { gltf } = useModel(protagonist.tank.id);
const nodes = Object.values(gltf.nodes);
const isDynamicArmorActive = Duel.use((state) =>
state.protagonist.consumables.includes(73),
);
useTankTransform(protagonist, turretContainer, gunContainer);
@@ -9,7 +9,6 @@ import {
Text,
} from '@radix-ui/themes';
import { useState } from 'react';
import { App } from '../../../../../../stores/app';
import { Duel } from '../../../../../../stores/duel';
import { $wargamingLogin } from '../../../../../../stores/wargamingLogin';
import { Stars } from '../../Stars';
@@ -20,7 +19,6 @@ export function VoteCaster() {
const [firepower, setFirepower] = useState<StarsInt | null>(null);
const [maneuverability, setManeuverability] = useState<StarsInt | null>(null);
const [survivability, setSurvivability] = useState<StarsInt | null>(null);
const appStore = App.useStore();
// true = vote successful, false = vote failed, null = hide alert
const [postVote, setPostVote] = useState<boolean | null>(null);
// true = open, false = closed, null = casting