Skip to content

Commit 295fbaf

Browse files
committed
refactor: code style
Signed-off-by: Lorenzo Croce <lorenzo.croce@arenastudios.it>
1 parent 8e273bd commit 295fbaf

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

  • src/components/SistentNavigation

src/components/SistentNavigation/index.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import React, {useState} from "react";
2-
import {HiOutlineChevronLeft} from "@react-icons/all-files/hi/HiOutlineChevronLeft";
3-
import {Link} from "gatsby";
4-
import {IoIosArrowForward} from "@react-icons/all-files/io/IoIosArrowForward";
5-
import {componentsData} from "../../sections/Projects/Sistent/components/content";
1+
import React, { useState } from "react";
2+
import { HiOutlineChevronLeft } from "@react-icons/all-files/hi/HiOutlineChevronLeft";
3+
import { Link } from "gatsby";
4+
import { IoIosArrowForward } from "@react-icons/all-files/io/IoIosArrowForward";
5+
import { componentsData } from "../../sections/Projects/Sistent/components/content";
66

77
import TOCWrapper from "./toc.style";
8-
import {IoIosArrowDown} from "@react-icons/all-files/io/IoIosArrowDown";
8+
import { IoIosArrowDown } from "@react-icons/all-files/io/IoIosArrowDown";
99

10-
import {useLocation} from "@reach/router";
10+
import { useLocation } from "@reach/router";
1111

1212
const TOC = () => {
1313
const [expand, setExpand] = useState(false);
@@ -69,8 +69,8 @@ const TOC = () => {
6969
>
7070
Identity
7171
{expandIdentity ?
72-
<IoIosArrowDown style={{zIndex: 2}}/> :
73-
<IoIosArrowForward style={{zIndex: 2}}/>
72+
<IoIosArrowDown style={{ zIndex: 2 }}/> :
73+
<IoIosArrowForward style={{ zIndex: 2 }}/>
7474
}
7575
</div>
7676
{expandIdentity && (
@@ -132,8 +132,8 @@ const TOC = () => {
132132
>
133133
Components
134134
{expandComponent ?
135-
<IoIosArrowDown style={{zIndex: 2}}/> :
136-
<IoIosArrowForward style={{zIndex: 2}}/>
135+
<IoIosArrowDown style={{ zIndex: 2 }}/> :
136+
<IoIosArrowForward style={{ zIndex: 2 }}/>
137137
}
138138
</div>
139139
{expandComponent && (

0 commit comments

Comments
 (0)