mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-07 16:06:12 +02:00
style: sort imports
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
import { graphql, useStaticQuery } from "gatsby"
|
import { graphql, useStaticQuery } from "gatsby"
|
||||||
import { sort } from "ramda"
|
import { sort } from "ramda"
|
||||||
import React, { FC, HTMLAttributes } from "react"
|
import React, { FC, HTMLAttributes } from "react"
|
||||||
|
import useBuildTree from "../../hooks/useBuildTree"
|
||||||
import { useLockBodyScroll } from "../../hooks/useLockBodyScroll"
|
import { useLockBodyScroll } from "../../hooks/useLockBodyScroll"
|
||||||
import useSidebar from "../../hooks/useSidebar"
|
import useSidebar from "../../hooks/useSidebar"
|
||||||
import { IAllArchivesQuery, IFileOrFolder } from "../../types"
|
import { IAllArchivesQuery, IFileOrFolder } from "../../types"
|
||||||
import { humanize } from "../../utils"
|
import { humanize } from "../../utils"
|
||||||
import { Sidebar } from "../Sidebar"
|
import { Sidebar } from "../Sidebar"
|
||||||
import useBuildTree from "./../../hooks/useBuildTree"
|
|
||||||
import * as SC from "./styles"
|
import * as SC from "./styles"
|
||||||
|
|
||||||
const ALL_ARCHIVES = graphql`
|
const ALL_ARCHIVES = graphql`
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import { graphql, useStaticQuery } from "gatsby"
|
import { graphql, useStaticQuery } from "gatsby"
|
||||||
|
import { sort } from "ramda"
|
||||||
import React, { FC, HTMLAttributes, memo } from "react"
|
import React, { FC, HTMLAttributes, memo } from "react"
|
||||||
import "react-perfect-scrollbar/dist/css/styles.css"
|
import "react-perfect-scrollbar/dist/css/styles.css"
|
||||||
import { IAllResourcesQuery, IFileOrFolder, IFolder } from "../../types"
|
import { IAllResourcesQuery, IFileOrFolder, IFolder } from "../../types"
|
||||||
import { getPath, humanize } from "../../utils"
|
import { getPath, humanize } from "../../utils"
|
||||||
import * as SC from "./styles"
|
import * as SC from "./styles"
|
||||||
import useBuildTree from "./useBuildTree"
|
import useBuildTree from "./useBuildTree"
|
||||||
import { sort } from "ramda"
|
|
||||||
|
|
||||||
const ALL_RESOURCES = graphql`
|
const ALL_RESOURCES = graphql`
|
||||||
query {
|
query {
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
import { graphql, useStaticQuery } from "gatsby"
|
import { graphql, useStaticQuery } from "gatsby"
|
||||||
import { descend, sort, sortWith } from "ramda"
|
import { descend, sort, sortWith } from "ramda"
|
||||||
import React, { FC, HTMLAttributes, memo, useState } from "react"
|
import React, { FC, HTMLAttributes, memo, useState } from "react"
|
||||||
|
import useBuildTree from "../../hooks/useBuildTree"
|
||||||
|
import { useLockBodyScroll } from "../../hooks/useLockBodyScroll"
|
||||||
|
import useSidebar from "../../hooks/useSidebar"
|
||||||
import TriangleDown from "../../icons/triangle-down.svg"
|
import TriangleDown from "../../icons/triangle-down.svg"
|
||||||
import { IAllResourcesQuery, IFileOrFolder, IFolder } from "../../types"
|
import { IAllResourcesQuery, IFileOrFolder, IFolder } from "../../types"
|
||||||
import { getPath, humanize } from "../../utils"
|
import { getPath, humanize } from "../../utils"
|
||||||
import { Sidebar } from "../Sidebar"
|
import { Sidebar } from "../Sidebar"
|
||||||
import useBuildTree from "./../../hooks/useBuildTree"
|
|
||||||
import useSidebar from "./../../hooks/useSidebar"
|
|
||||||
import * as SC from "./styles"
|
import * as SC from "./styles"
|
||||||
import useMatchingPath from "./useMatchingPath"
|
import useMatchingPath from "./useMatchingPath"
|
||||||
import { useLockBodyScroll } from "../../hooks/useLockBodyScroll"
|
|
||||||
|
|
||||||
const ALL_RESOURCES = graphql`
|
const ALL_RESOURCES = graphql`
|
||||||
query {
|
query {
|
||||||
|
|||||||
Reference in New Issue
Block a user