mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: no player selected
This commit is contained in:
1 parent
b7486022eb
commit
145bc84fb1
1 file changed
+15
@@ -12,6 +12,7 @@ import {
|
||||
Checkbox,
|
||||
DropdownMenu,
|
||||
Flex,
|
||||
Heading,
|
||||
Text,
|
||||
TextField,
|
||||
} from '@radix-ui/themes';
|
||||
@@ -249,6 +250,20 @@ export default function Page() {
|
||||
</div>
|
||||
|
||||
<SessionPage naked={false} />
|
||||
|
||||
{!session.isTracking && (
|
||||
<Flex
|
||||
align="center"
|
||||
justify="center"
|
||||
direction="column"
|
||||
style={{ flex: 1 }}
|
||||
>
|
||||
<Heading color="gray">No player selected</Heading>
|
||||
<Text color="gray">
|
||||
Search for a <PersonIcon /> Player to get started
|
||||
</Text>
|
||||
</Flex>
|
||||
)}
|
||||
</PageWrapper>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user