Skip to content

Commit

Permalink
Updating import order
Browse files Browse the repository at this point in the history
  • Loading branch information
stevector committed Oct 7, 2024
1 parent d0959e4 commit 9f98dd2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/components/omniSidebarNav/helpers.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import allGuides from './allGuidesQuery';
import React from 'react';
import { Link } from 'gatsby';
import { Icon } from '@pantheon-systems/pds-toolkit-react';

import { Icon } from '@pantheon-systems/pds-toolkit-react';

/**
* Converts items into links recursively.
Expand All @@ -21,7 +20,6 @@ const turnItemsIntoLinks = (item, activePage) => {
React.Fragment,
null,
item.title,

" ",
React.createElement(Icon, { iconName: "externalLink", iconSize: "sm" }),
);
Expand Down
2 changes: 1 addition & 1 deletion src/templates/certificationpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import GuideLayout from "../layout/GuideLayout"
import SEO from "../layout/seo"
import SearchBar from "../layout/SearchBar"
import HeaderBody from "../components/headerBody"
import GetFeedback from "../components/getFeedback"
import OmniSidebarNav from "../components/omniSidebarNav";
import GetFeedback from "../components/getFeedback"
import NavButtons from "../components/navButtons"
import TOC from "../components/toc"
import MdxWrapper from "../components/mdxWrapper"
Expand Down
3 changes: 2 additions & 1 deletion src/templates/guide.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import GuideLayout from "../layout/GuideLayout"
import SEO from "../layout/seo"
import SearchBar from "../layout/SearchBar"
import HeaderBody from "../components/headerBody"
import OmniSidebarNav from "../components/omniSidebarNav";
import { SidebarLayout } from "@pantheon-systems/pds-toolkit-react"
import NavButtons from "../components/navButtons"
import TOC from "../components/toc"
import MdxWrapper from "../components/mdxWrapper"
import OmniSidebarNav from "../components/omniSidebarNav";



class GuideTemplate extends React.Component {
Expand Down

0 comments on commit 9f98dd2

Please sign in to comment.