mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: skeleton vote button
This commit is contained in:
1 parent
c5e2c1fd0f
commit
8b183269d1
1 file changed
+6
-1
+6
-1
@@ -1,3 +1,4 @@
|
|||||||
|
import { PaperPlaneIcon } from '@radix-ui/react-icons';
|
||||||
import { Button, Flex, Heading, Skeleton, Text } from '@radix-ui/themes';
|
import { Button, Flex, Heading, Skeleton, Text } from '@radix-ui/themes';
|
||||||
import { WargamingLoginButton } from '../../../../../../../../components/Navbar/components/WargamingLoginButton';
|
import { WargamingLoginButton } from '../../../../../../../../components/Navbar/components/WargamingLoginButton';
|
||||||
import * as App from '../../../../../../../../stores/app';
|
import * as App from '../../../../../../../../stores/app';
|
||||||
@@ -20,7 +21,11 @@ export function VotesSkeleton() {
|
|||||||
Login to vote
|
Login to vote
|
||||||
</WargamingLoginButton>
|
</WargamingLoginButton>
|
||||||
)}
|
)}
|
||||||
{wargaming && <Button>Vote</Button>}
|
{wargaming && (
|
||||||
|
<Button variant="surface">
|
||||||
|
<PaperPlaneIcon /> Vote
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<Flex gap="0" direction="column">
|
<Flex gap="0" direction="column">
|
||||||
|
|||||||
Reference in new issue
Block a user