Skip to content

Commit 56bee4e

Browse files
fix: only show shreds progression for firedancer
1 parent b18164a commit 56bee4e

File tree

1 file changed

+7
-0
lines changed
  • src/features/Overview/ShredsProgression

1 file changed

+7
-0
lines changed

src/features/Overview/ShredsProgression/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@ import { Flex } from "@radix-ui/themes";
22
import Card from "../../../components/Card";
33
import CardHeader from "../../../components/CardHeader";
44
import ShredsTiles from "./ShredsTiles";
5+
import { useAtomValue } from "jotai";
6+
import { ClientEnum } from "../../../api/entities";
7+
import { clientAtom } from "../../../atoms";
58

69
export default function ShredsProgression() {
10+
const client = useAtomValue(clientAtom);
11+
12+
if (client !== ClientEnum.Firedancer) return;
13+
714
return (
815
<Card>
916
<Flex direction="column" height="100%" gap="2">

0 commit comments

Comments
 (0)