perf: avoid loading all of ramda

This commit is contained in:
Jean-Philippe Sirois
2020-05-21 11:43:15 -04:00
parent 5b77154135
commit 56ffa2cdb9
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { graphql, useStaticQuery } from "gatsby"
import { sort } from "ramda"
import sort from "ramda/es/sort"
import React, { FC, HTMLAttributes } from "react"
import useBuildTree from "../../hooks/useBuildTree"
import { useLockBodyScroll } from "../../hooks/useLockBodyScroll"