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

feat(Referral): remove entry point on topbar LLD #3298

Merged
merged 4 commits into from
May 10, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fresh-boats-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

Remove enetry point of referral program on topbar

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState, useCallback } from "react";
import { useDispatch, useSelector } from "react-redux";
import { useTranslation } from "react-i18next";
import { Route, useHistory, useLocation } from "react-router-dom";
import { useHistory, useLocation } from "react-router-dom";
import styled from "styled-components";
import { lock } from "~/renderer/actions/application";
import { discreetModeSelector } from "~/renderer/reducers/settings";
Expand All @@ -16,7 +16,6 @@ import IconEye from "~/renderer/icons/Eye";
import IconHelp from "~/renderer/icons/Question";
import IconEyeOff from "~/renderer/icons/EyeOff";
import IconSettings from "~/renderer/icons/Settings";
import HomePromotionalTag from "./HomePromotionalTag";

// TODO: ActivityIndicator
import ActivityIndicator from "./ActivityIndicator";
Expand Down Expand Up @@ -73,7 +72,6 @@ const TopBar = () => {
<Container color="palette.text.shade80">
<Inner bg="palette.background.default">
<Box grow horizontal justifyContent="space-between">
<Route exact path="/" component={HomePromotionalTag} />
<Breadcrumb />
<Box horizontal>
{hasAccounts && (
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.