Skip to content

Commit

Permalink
Revert "Disable notcoin burn"
Browse files Browse the repository at this point in the history
This reverts commit 87eb5e3.

# Conflicts:
#	apps/web/package.json
  • Loading branch information
KuznetsovNikita committed May 15, 2024
1 parent 3c83b7a commit 3f40071
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tonkeeper/desktop",
"license": "Apache-2.0",
"version": "3.12.6",
"version": "3.12.5",
"description": "Your desktop wallet on The Open Network",
"main": ".webpack/main",
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions apps/desktop/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import { DesktopCoinPage } from '@tonkeeper/uikit/dist/desktop-pages/coin/Deskto
import DashboardPage from '@tonkeeper/uikit/dist/desktop-pages/dashboard';
import { DesktopHistoryPage } from '@tonkeeper/uikit/dist/desktop-pages/history/DesktopHistoryPage';
import { DesktopMultiSendPage } from '@tonkeeper/uikit/dist/desktop-pages/multi-send';
import { NotcoinPage } from '@tonkeeper/uikit/dist/desktop-pages/notcoin/NotcoinPage';
import { DesktopPreferencesRouting } from '@tonkeeper/uikit/dist/desktop-pages/preferences/DesktopPreferencesRouting';
import { DesktopPurchases } from '@tonkeeper/uikit/dist/desktop-pages/purchases/DesktopPurchases';
import { DesktopWalletSettingsRouting } from '@tonkeeper/uikit/dist/desktop-pages/settings/DesktopWalletSettingsRouting';
Expand Down Expand Up @@ -415,6 +416,7 @@ const WalletContent = () => {
path={any(AppRoute.walletSettings)}
element={<DesktopWalletSettingsRouting />}
/>
<Route path={AppRoute.notcoin} element={<NotcoinPage />} />
<Route path="*" element={<DesktopTokens />} />
</Route>
</Routes>
Expand Down
16 changes: 15 additions & 1 deletion packages/uikit/src/components/desktop/aside/WalletAsideMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ import styled from 'styled-components';
import { useTranslation } from '../../../hooks/translation';
import { hexToRGBA } from '../../../libs/css';
import { AppRoute } from '../../../libs/routes';
import { ClockSmoothIcon, CoinsIcon, SaleBadgeIcon, SettingsSmoothIcon } from '../../Icon';
import {
ClockSmoothIcon,
CoinsIcon,
NotCoinIcon,
SaleBadgeIcon,
SettingsSmoothIcon
} from '../../Icon';
import { Label2 } from '../../Text';
import { AsideMenuItem } from '../../shared/AsideItem';

Expand Down Expand Up @@ -68,6 +74,14 @@ export const WalletAsideMenu = () => {
</AsideMenuItemStyled>
)}
</NavLink>
<NavLink to={AppRoute.notcoin}>
{({ isActive }) => (
<AsideMenuItemStyled isSelected={isActive}>
<NotCoinIcon />
<Label2>NOT Vouchers</Label2>
</AsideMenuItemStyled>
)}
</NavLink>
</WalletAsideContainer>
);
};

0 comments on commit 3f40071

Please sign in to comment.