style: fix lint issues

This commit is contained in:
Jean-Philippe Sirois
2019-08-23 17:23:05 -04:00
parent 8011b04d63
commit e4d969d023
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import React, { useState, useMemo } from "react"
import React, { useMemo, useState } from "react"
interface ISidebarProviderProps {
children: React.ReactNode
+1 -1
View File
@@ -1,5 +1,5 @@
import { graphql, Link, useStaticQuery } from "gatsby"
import React, { PropsWithChildren, useState, memo } from "react"
import React, { memo, PropsWithChildren, useState } from "react"
import TriangleDown from "../../icons/triangle-down.svg"
import Banner from "../../images/tph-banner.svg"
import useSidebar from "./../../hooks/useSidebar"
+1 -1
View File
@@ -1,5 +1,5 @@
import { useContext } from "react"
import { SidebarContext, ISidebarContextInterface } from "../SidebarProvider"
import { ISidebarContextInterface, SidebarContext } from "../SidebarProvider"
export default function useSidebar(): ISidebarContextInterface {
const sidebarContext = useContext(SidebarContext)