mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 14:54:22 +00:00
🔧 Rename GoBackButton
to GoUpButton
This commit is contained in:
parent
4d9ea5cc8d
commit
07fe793192
2 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ import {useSophonPath} from "../../hooks/useSophonPath"
|
|||
*
|
||||
* @constructor
|
||||
*/
|
||||
export function GoBackButton({onClick, ...props}: Omit<ButtonProps, "children">): JSX.Element {
|
||||
export function GoUpButton({onClick, ...props}: Omit<ButtonProps, "children">): JSX.Element {
|
||||
const location = useSophonPath()
|
||||
|
||||
const onClickWrapped = React.useCallback(
|
|
@ -2,7 +2,7 @@ import {faAngleDoubleRight, faBug} from "@fortawesome/free-solid-svg-icons"
|
|||
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
|
||||
import {Box, Button, Form} from "@steffo/bluelib-react"
|
||||
import * as React from "react"
|
||||
import {GoBackButton} from "../elements/GoBackButton"
|
||||
import {GoUpButton} from "../elements/GoUpButton"
|
||||
import {NavigateButton} from "../elements/NavigateButton"
|
||||
|
||||
|
||||
|
@ -49,7 +49,7 @@ export class ErrorCatcherBox extends React.Component<ErrorCatcherBoxProps, Error
|
|||
<NavigateButton href={"https://github.com/Steffo99/sophon/issues/new?assignees=&labels=bug&template=1_bug_report.md&title="}>
|
||||
<FontAwesomeIcon icon={faBug}/> Report bug
|
||||
</NavigateButton>
|
||||
<GoBackButton/>
|
||||
<GoUpButton/>
|
||||
<Button onClick={this.clearError}>
|
||||
<FontAwesomeIcon icon={faAngleDoubleRight}/> Try ignoring the error
|
||||
</Button>
|
||||
|
|
Loading…
Reference in a new issue