mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: shot type
This commit is contained in:
1 parent
0808505af3
commit
6e26420e0e
1 file changed
+6
-1
@@ -1,7 +1,12 @@
|
||||
import { Flex } from '@radix-ui/themes';
|
||||
import { ShotDisplayCard } from '../../../../../components/Armor/components/ShotDisplayCard';
|
||||
import * as TankEphemeral from '../../../../../stores/tankopediaEphemeral';
|
||||
|
||||
export function ShotDisplaySection() {
|
||||
const shot = TankEphemeral.use((state) => state.shot);
|
||||
|
||||
if (!shot) return null;
|
||||
|
||||
return (
|
||||
<Flex
|
||||
justify="center"
|
||||
@@ -10,7 +15,7 @@ export function ShotDisplaySection() {
|
||||
sm: 'none',
|
||||
}}
|
||||
>
|
||||
<ShotDisplayCard />
|
||||
<ShotDisplayCard shot={shot} />
|
||||
</Flex>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user