fix: dead code

This commit is contained in:
TrèsAbhi committed 2025-09-27 18:28:35 -05:00
1 parent 25cee8a36b
commit 674abc4923
9 files changed
+169 -3525

No files matched your search

@@ -1,5 +1,5 @@
---
import { Cross1Icon, Cross2Icon, DownloadIcon } from "@radix-ui/react-icons";
import { Cross2Icon, DownloadIcon } from "@radix-ui/react-icons";
import {
Badge,
Box,
@@ -1,8 +1,8 @@
import { getAccountInfo, idToRegion } from '@blitzkit/core';
import { Text } from '@radix-ui/themes';
import { useMemo } from 'react';
import usePromise from 'react-promise-suspense';
import { App } from '../stores/app';
import { getAccountInfo, idToRegion } from "@blitzkit/core";
import { Text } from "@radix-ui/themes";
import { useMemo } from "react";
import usePromise from "react-promise-suspense";
import { App } from "../stores/app";
export function WargamingAccountName() {
const wargaming = App.use((state) => state.logins.wargaming);
@@ -13,7 +13,7 @@ export function WargamingAccountName() {
idToRegion(wargaming.id),
wargaming.id,
[],
{ access_token: wargaming.token },
{ access_token: wargaming.token }
);
return data?.nickname as string | undefined;