mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-13 20:56:11 +01:00
feat: start of perforamnce
This commit is contained in:
1 parent
db4132f666
commit
7dfdf4c11b
13 files changed
+90
-50
No files matched your search
@@ -4,7 +4,11 @@ import { Box, Flex, Heading, Text } from '@radix-ui/themes';
|
||||
import { google } from 'googleapis';
|
||||
import { awaitableTankDefinitions } from '../core/awaitables/tankDefinitions';
|
||||
import { literals } from '../core/i18n/literals';
|
||||
import { LocaleProvider, useLocale } from '../hooks/useLocale';
|
||||
import {
|
||||
LocaleProvider,
|
||||
useLocale,
|
||||
type LocaleAcceptorProps,
|
||||
} from '../hooks/useLocale';
|
||||
import { TankopediaPersistent } from '../stores/tankopediaPersistent';
|
||||
import { TankCard } from './TankCard';
|
||||
|
||||
@@ -65,11 +69,7 @@ const hotTanks = report.data.rows
|
||||
views,
|
||||
}));
|
||||
|
||||
interface HomePageHotTanksProps {
|
||||
locale: string | undefined;
|
||||
}
|
||||
|
||||
export function HomePageHotTanks({ locale }: HomePageHotTanksProps) {
|
||||
export function HomePageHotTanks({ locale }: LocaleAcceptorProps) {
|
||||
return (
|
||||
<LocaleProvider locale={locale}>
|
||||
<TankopediaPersistent.Provider>
|
||||
|
||||
Reference in new issue
Block a user