mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-06 16:24:29 +01:00
16 lines
458 B
TypeScript
16 lines
458 B
TypeScript
import { Heading, Text } from '@radix-ui/themes';
|
|||
|
|
import PageWrapper from '../../../../../components/PageWrapper';
|
||
|
|
import { useDuel } from '../../../../../stores/duel';
|
||
|
|
|
||
|
|
export function HistorySection() {
|
||
|
|
const tank = useDuel((state) => state.protagonist!.tank);
|
||
|
|
|
||
|
|
if (!tank.description) return null;
|
||
|
|
|
||
|
|
return (
|
||
|
|
<PageWrapper noFlex1>
|
||
|
|
<Heading>History of the {tank.name}</Heading>
|
||
|
|
<Text>{tank.description}</Text>
|
||
|
|
</PageWrapper>
|
||
|
|
);
|
||
|
|
}
|