Skip to content

Commit

Permalink
[Chore] Link to changelog on Release Notes (#270)
Browse files Browse the repository at this point in the history
chore: added link to changelog article on release notes.
  • Loading branch information
Julián Ariel Martínez authored Dec 12, 2022
1 parent e4f9c3f commit f56db4e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/ui/src/components/info/ReleaseNotesInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
} from "@block-wallet/background/controllers/PreferencesController"
import { FC } from "react"
import { useHistory } from "react-router-dom"
import { LINKS } from "../../util/constants"
import { ButtonWithLoading } from "../button/ButtonWithLoading"
import PopupFooter from "../popup/PopupFooter"
import PopupLayout from "../popup/PopupLayout"
Expand Down Expand Up @@ -69,6 +70,17 @@ const ReleaseNotesInfo: FC<ReleaseNotesInfoProps> = ({
</div>
)
})}
<span className="text-sm text-slate-600">
There's more.{" "}
<a
href={LINKS.ARTICLES.CHANGELOG}
target="_blank"
rel="noreferrer"
className="text-primary-300 hover:underline"
>
Find full release notes here.
</a>
</span>
</div>
</Info>
</div>
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/util/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ export const LINKS = {
MALICIOUS_DAPPS:
"https://help.blockwallet.io/hc/en-us/articles/10374731466769",
BRIDGES: "https://help.blockwallet.io/hc/en-us/articles/10669678195473",
CHANGELOG: "https://bit.ly/bw-release"
},
}

0 comments on commit f56db4e

Please sign in to comment.