mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
fix: display shot card on all devices
This commit is contained in:
1 parent
d5d0a8b308
commit
b48515bf37
3 files changed
-18
No files matched your search
@@ -1,15 +0,0 @@
|
||||
import { Flex } from '@radix-ui/themes';
|
||||
import { TankopediaEphemeral } from '../../stores/tankopediaEphemeral';
|
||||
import { ShotDisplayCard } from '../Armor/components/ShotDisplayCard';
|
||||
|
||||
export function ShotDisplaySection() {
|
||||
const shot = TankopediaEphemeral.use((state) => state.shot);
|
||||
|
||||
if (!shot) return null;
|
||||
|
||||
return (
|
||||
<Flex justify="center" display={{ initial: 'flex', sm: 'none' }}>
|
||||
<ShotDisplayCard shot={shot} />
|
||||
</Flex>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user