Skip to content

Commit 3a54b3c

Browse files
committed
code optimization
1 parent eaea9e9 commit 3a54b3c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

components/Sidebar.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,6 @@ export const DocsNav = ({
291291
} else if (getStartedPath.includes(pathWtihoutFragment)) {
292292
newActive.getStarted = true;
293293
setActive({ ...active, getStarted: true });
294-
} else if (getGuidesPath.includes(pathWtihoutFragment)) {
295-
setActive({ ...active, getGuides: true });
296294
} else if (getReferencePath.includes(pathWtihoutFragment)) {
297295
newActive.getReference = true;
298296
} else if (getSpecificationPath.includes(pathWtihoutFragment)) {
@@ -356,7 +354,6 @@ export const DocsNav = ({
356354

357355
const rotate = active.getDocs ? 'rotate(180deg)' : 'rotate(0)';
358356
const rotateG = active.getStarted ? 'rotate(180deg)' : 'rotate(0)';
359-
const rotateGui = active.getGuides ? 'rotate(180deg)' : 'rotate(0)';
360357
const rotateR = active.getReference ? 'rotate(180deg)' : 'rotate(0)';
361358
const rotateSpec = active.getSpecification ? 'rotate(180deg)' : 'rotate(0)';
362359

0 commit comments

Comments
 (0)