mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-21 12:53:56 +01:00
fix: some linting for new proto 5
This commit is contained in:
1 parent
53a9c5f2de
commit
96310a9d63
40 files changed
+409
-367
No files matched your search
@@ -6,8 +6,8 @@ import {
|
||||
STAT_NAMES,
|
||||
Stat,
|
||||
UNLOCALIZED_REGION_NAMES_SHORT,
|
||||
blitzStarsTankAverages,
|
||||
deltaTankStats,
|
||||
fetchTankDefinitions,
|
||||
generateStats,
|
||||
getAccountInfo,
|
||||
getTankStats,
|
||||
@@ -15,7 +15,6 @@ import {
|
||||
prettifyStats,
|
||||
searchPlayersAcrossRegions,
|
||||
sumBlitzStarsStats,
|
||||
tankDefinitions,
|
||||
} from '@blitzkit/core';
|
||||
import {
|
||||
ArrowDownIcon,
|
||||
@@ -37,9 +36,8 @@ import {
|
||||
} from '@radix-ui/themes';
|
||||
import { debounce } from 'lodash-es';
|
||||
import { use, useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { PageWrapper } from '../../../components/PageWrapper';
|
||||
import { TankRowHeaderCell } from '../../../components/TankRowHeaderCell';
|
||||
import * as Session from '../../../stores/session';
|
||||
|
||||
const awaitedTankDefinitions = await fetchTankDefinitions();
|
||||
|
||||
export default function Page({
|
||||
searchParams,
|
||||
@@ -47,8 +45,6 @@ export default function Page({
|
||||
searchParams: { id?: string };
|
||||
}) {
|
||||
const [loaded, setLoaded] = useState(false);
|
||||
const awaitedTankDefinitions = use(tankDefinitions);
|
||||
const awaitedTankAvearges = use(blitzStarsTankAverages);
|
||||
const [showSearch, setShowSearch] = useState(false);
|
||||
const [searching, setSearching] = useState(false);
|
||||
const [searchResults, setSearchResults] = useState<AccountListWithServer>([]);
|
||||
|
||||
Reference in new issue
Block a user