Removed not used style
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9d420f8668
commit
0e40097b70
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue