From 875876b3a78c33df0253a3d10ef091eea226941d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 15 Oct 2021 18:08:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Rename=20`GoBackButton`=20to=20`?= =?UTF-8?q?GoUpButton`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/elements/{GoBackButton.tsx => GoUpButton.tsx} | 2 +- frontend/src/components/errors/ErrorCatcherBox.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename frontend/src/components/elements/{GoBackButton.tsx => GoUpButton.tsx} (90%) diff --git a/frontend/src/components/elements/GoBackButton.tsx b/frontend/src/components/elements/GoUpButton.tsx similarity index 90% rename from frontend/src/components/elements/GoBackButton.tsx rename to frontend/src/components/elements/GoUpButton.tsx index 2c1ed67..f71d885 100644 --- a/frontend/src/components/elements/GoBackButton.tsx +++ b/frontend/src/components/elements/GoUpButton.tsx @@ -12,7 +12,7 @@ import {useSophonPath} from "../../hooks/useSophonPath" * * @constructor */ -export function GoBackButton({onClick, ...props}: Omit): JSX.Element { +export function GoUpButton({onClick, ...props}: Omit): JSX.Element { const location = useSophonPath() const onClickWrapped = React.useCallback( diff --git a/frontend/src/components/errors/ErrorCatcherBox.tsx b/frontend/src/components/errors/ErrorCatcherBox.tsx index 2ba9d82..02599ad 100644 --- a/frontend/src/components/errors/ErrorCatcherBox.tsx +++ b/frontend/src/components/errors/ErrorCatcherBox.tsx @@ -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  Report bug - +