Removed not used style
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Shahan Nedadahandeh 2022-10-05 13:05:40 -04:00
parent 9d420f8668
commit 0e40097b70
Signed by: snedadah
GPG Key ID: 8638C7F917385B01
1 changed files with 5 additions and 9 deletions

View File

@ -16,7 +16,7 @@ export function BottomNav(props: PagesInfo) {
<div className={styles.subBox + " " + styles.subBoxLeft}>
<Link href={props.leftPageLink}>
<a>
<Arrow isPointRight></Arrow>
<Arrow />
</a>
</Link>
<Link href={props.leftPageLink}>
@ -29,7 +29,7 @@ export function BottomNav(props: PagesInfo) {
</Link>
<Link href={props.leftPageLink}>
<a>
<Arrow isPointRight={false}></Arrow>
<Arrow isPointingLeft />
</a>
</Link>
</div>
@ -38,16 +38,12 @@ export function BottomNav(props: PagesInfo) {
}
interface ArrowProps {
isPointRight: boolean;
isPointingLeft?: boolean;
}
function Arrow({ isPointRight }: ArrowProps) {
function Arrow({ isPointingLeft }: ArrowProps) {
return (
<svg
className={
(isPointRight ? styles.right : styles.left) + " " + styles.arrow
}
>
<svg className={(isPointingLeft ? styles.left : "") + " " + styles.arrow}>
<defs>
<marker
id="arrow"