Skip to content

Commit

Permalink
Remove unneeded code in the dApp
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosiorowska committed Dec 11, 2024
1 parent e496756 commit 363793e
Show file tree
Hide file tree
Showing 23 changed files with 6 additions and 397 deletions.
1 change: 0 additions & 1 deletion dapp/src/assets/images/mezo-beehive-modal-illustration.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed dapp/src/assets/webps/confetti.webp
Binary file not shown.

This file was deleted.

35 changes: 0 additions & 35 deletions dapp/src/components/shared/ButtonLink.tsx

This file was deleted.

27 changes: 0 additions & 27 deletions dapp/src/components/shared/IconTag.tsx

This file was deleted.

21 changes: 0 additions & 21 deletions dapp/src/components/shared/NavLink.tsx

This file was deleted.

125 changes: 0 additions & 125 deletions dapp/src/components/shared/SeasonSectionBackground.tsx

This file was deleted.

1 change: 0 additions & 1 deletion dapp/src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export * from "./externalHref"
export { default as featureFlags } from "./featureFlags"
export { default as queryKeysFactory } from "./queryKeysFactory"
export { default as screen } from "./screen"
export * from "./staking"
export { default as tbtc } from "./tbtc"
export * from "./time"
export { default as wallets } from "./wallets"
2 changes: 0 additions & 2 deletions dapp/src/constants/staking.ts

This file was deleted.

1 change: 0 additions & 1 deletion dapp/src/hooks/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from "./useIsActiveRoute"
export { default as useAppNavigate } from "./useAppNavigate"
10 changes: 0 additions & 10 deletions dapp/src/hooks/router/useIsActiveRoute.ts

This file was deleted.

25 changes: 1 addition & 24 deletions dapp/src/pages/DashboardPage/PositionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,7 @@ import {
useActivities,
} from "#/hooks"
import { ACTION_FLOW_TYPES } from "#/types"
import {
Button,
ButtonProps,
Flex,
HStack,
// Tag,
VStack,
} from "@chakra-ui/react"
import { Button, ButtonProps, Flex, HStack, VStack } from "@chakra-ui/react"
import ArrivingSoonTooltip from "#/components/ArrivingSoonTooltip"
import UserDataSkeleton from "#/components/shared/UserDataSkeleton"
import { featureFlags } from "#/constants"
Expand Down Expand Up @@ -69,22 +62,6 @@ export default function PositionDetails() {
placement="right"
/>
)}
{/* TODO: Uncomment when position will be implemented */}
{/* {positionPercentage && (
<Tag
px={3}
py={1}
ml={2}
borderWidth={0}
color="gold.100"
bg="gold.700"
fontWeight="bold"
lineHeight={5}
verticalAlign="baseline"
>
Top {positionPercentage}%
</Tag>
)} */}
</HStack>
<UserDataSkeleton>
<VStack alignItems="start" spacing={0}>
Expand Down
Loading

0 comments on commit 363793e

Please sign in to comment.