mirror of
https://github.com/ragestudio/relic.git
synced 2025-06-09 10:34:18 +00:00
improve messaging
This commit is contained in:
parent
2fa3f10d3e
commit
fbb87e46d1
@ -1,5 +1,6 @@
|
|||||||
import React from "react"
|
import React from "react"
|
||||||
import { Button } from "antd"
|
import { Button } from "antd"
|
||||||
|
import { Icons } from "components/Icons"
|
||||||
|
|
||||||
import "./index.less"
|
import "./index.less"
|
||||||
|
|
||||||
@ -21,13 +22,13 @@ const PackageUpdateAvailable = ({ update, close }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return <div className="package-update-available">
|
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>
|
<code>
|
||||||
<p>
|
<p>
|
||||||
<b>{update.current_version}</b> -> <b>{update.new_version}</b>
|
<b>{update.current_version}</b> {`->`} <b>{update.new_version}</b>
|
||||||
</p>
|
</p>
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
@ -35,7 +36,13 @@ const PackageUpdateAvailable = ({ update, close }) => {
|
|||||||
<Button
|
<Button
|
||||||
onClick={handleContinue}
|
onClick={handleContinue}
|
||||||
>
|
>
|
||||||
Continue
|
Cancel
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button
|
||||||
|
onClick={handleContinue}
|
||||||
|
>
|
||||||
|
Ignore
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user