back link icon change

This commit is contained in:
BFlat committed 2023-01-20 13:06:11 +07:00
1 parent 7d440a724e
commit 6a5c85b525
1 file changed
+3 -2
@@ -1,6 +1,7 @@
import React from "react";
import { Link } from "react-router-dom";
import { BackButtonIcon } from "../_icons/BackButtonIcon";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faArrowLeft } from "@fortawesome/free-solid-svg-icons";
interface Props {
link: string;
@@ -11,7 +12,7 @@ function BackLink(props: Props) {
const linkText = props.text === undefined ? "Back" : props.text;
return (
<Link to={props.link}>
<BackButtonIcon title={linkText} />
<FontAwesomeIcon icon={faArrowLeft} />
<span className="ms-2">{linkText}</span>
</Link>
);