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