mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
style: fix lint issues
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { useState, useMemo } from "react"
|
||||
import React, { useMemo, useState } from "react"
|
||||
|
||||
interface ISidebarProviderProps {
|
||||
children: React.ReactNode
|
||||
|
||||
@@ -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,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)
|
||||
|
||||
Reference in New Issue
Block a user