@@ -60,8 +61,7 @@ export const RewardsPage = () => {
{stringGetter({ key: STRING_KEYS.MIGRATE })}
- Migrate your tokens from Ethereum to dYdX Chain. This will enable you to participate in governance. You will also be able to stake your tokens.
- {/* {stringGetter({ key: STRING_KEYS.MIGRATE_DESCRIPTION })} */}
+ {stringGetter({ key: STRING_KEYS.MIGRATE_DESCRIPTION })}
{stringGetter({ key: STRING_KEYS.LEARN_MORE })} →
@@ -130,7 +130,7 @@ export const RewardsPage = () => {
{stringGetter({ key: STRING_KEYS.CLICK_HERE })}
- )}
+ )} */}
{isTablet && (
@@ -152,7 +152,7 @@ export const RewardsPage = () => {
dispatch(openDialog({ type: DialogTypes.Keplr }))}
+ onClick={() => dispatch(openDialog({ type: DialogTypes.ExternalNavKeplr }))}
size={ButtonSize.Small}
/>
@@ -169,7 +169,7 @@ export const RewardsPage = () => {
dispatch(openDialog({ type: DialogTypes.Keplr }))}
+ onClick={() => dispatch(openDialog({ type: DialogTypes.ExternalNavKeplr }))}
size={ButtonSize.Small}
/>
@@ -325,4 +325,4 @@ Styled.LearnMore = styled(Styled.Description)`
Styled.IconButton = styled(IconButton)`
color: var(--color-text-0);
-`;
\ No newline at end of file
+`;
diff --git a/src/views/dialogs/KeplrDialog.tsx b/src/views/dialogs/KeplrDialog.tsx
deleted file mode 100644
index ab81f6e..0000000
--- a/src/views/dialogs/KeplrDialog.tsx
+++ /dev/null
@@ -1,107 +0,0 @@
-import styled, { type AnyStyledComponent } from 'styled-components';
-
-import { ButtonAction, ButtonSize, ButtonType } from '@/constants/buttons';
-import { STRING_KEYS } from '@/constants/localization';
-import { useBreakpoints, useStringGetter } from '@/hooks';
-
-import { Button } from '@/components/Button';
-import { Dialog, DialogPlacement } from '@/components/Dialog';
-import { IconName } from '@/components/Icon';
-import { IconButton } from '@/components/IconButton';
-
-import { layoutMixins } from '@/styles/layoutMixins';
-
-type ElementProps = {
- setIsOpen: (open: boolean) => void;
-};
-
-// TODO: replace placeholder URL with real URLs when avaialble
-const KEPLR_DASHBOARD_URL = 'https://testnet.keplr.app/';
-const HELP_URL = 'https://help.dydx.exchange/en/articles/2921366-how-do-i-create-an-account-or-sign-up';
-
-export const KeplrDialog = ({ setIsOpen }: ElementProps) => {
- const stringGetter = useStringGetter();
- const { isTablet } = useBreakpoints();
-
- return (
-
- );
-};
-
-const Styled: Record = {};
-
-Styled.TextToggle = styled.div`
- ${layoutMixins.stickyFooter}
- color: var(--color-accent);
- cursor: pointer;
-
- margin-top: auto;
-
- &:hover {
- text-decoration: underline;
- }
-`;
-
-Styled.Content = styled.div`
- ${layoutMixins.stickyArea0}
- --stickyArea0-bottomHeight: 2rem;
- --stickyArea0-bottomGap: 1rem;
- --stickyArea0-totalInsetBottom: 0.5rem;
-
- ${layoutMixins.flexColumn}
- gap: 1rem;
-`;
-
-Styled.Button = styled(Button)`
- --button-font: var(--font-base-book);
- --button-padding: 0 1.5rem;
-
- gap: 0;
-
- justify-content: space-between;
-`;
-
-Styled.IconButton = styled(IconButton)`
- color: var(--color-text-0);
-`;