mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 13:16:11 +01:00
17 lines
467 B
TypeScript
17 lines
467 B
TypeScript
import { Heading, Text } from '@radix-ui/themes';
|
|
import PageWrapper from '../../../../../../components/PageWrapper';
|
|
import { useDuel } from '../../../../../../stores/duel';
|
|
|
|
export function HistoricalSection() {
|
|
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>
|
|
);
|
|
}
|