mirror of
https://github.com/ragestudio/relic.git
synced 2025-06-09 02:24:18 +00:00
improve messaging
This commit is contained in:
parent
2fa3f10d3e
commit
fbb87e46d1
@ -1,5 +1,6 @@
|
||||
import React from "react"
|
||||
import { Button } from "antd"
|
||||
import { Icons } from "components/Icons"
|
||||
|
||||
import "./index.less"
|
||||
|
||||
@ -21,13 +22,13 @@ const PackageUpdateAvailable = ({ update, close }) => {
|
||||
}
|
||||
|
||||
return <div className="package-update-available">
|
||||
<h1>New update available</h1>
|
||||
<h1><Icons.MdUpcoming /> New update available</h1>
|
||||
|
||||
<p>This package is ready to be updated.</p>
|
||||
<p>This package is ready to be updated. <br />Do you want to update this package or run the current local version?</p>
|
||||
|
||||
<code>
|
||||
<p>
|
||||
<b>{update.current_version}</b> -> <b>{update.new_version}</b>
|
||||
<b>{update.current_version}</b> {`->`} <b>{update.new_version}</b>
|
||||
</p>
|
||||
</code>
|
||||
|
||||
@ -35,7 +36,13 @@ const PackageUpdateAvailable = ({ update, close }) => {
|
||||
<Button
|
||||
onClick={handleContinue}
|
||||
>
|
||||
Continue
|
||||
Cancel
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
onClick={handleContinue}
|
||||
>
|
||||
Ignore
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
|
Loading…
x
Reference in New Issue
Block a user