Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unneeded code in the dApp #923

Merged
merged 3 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading