From 6ac648c9938d743a498b41403f21504a1f3614a3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Sirois Date: Mon, 19 Aug 2019 03:06:16 -0400 Subject: [PATCH] refact: clean up unused scrollbar in base layout --- src/components/Layout/index.tsx | 24 ++++++++++-------------- src/components/Layout/styles.tsx | 2 +- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/src/components/Layout/index.tsx b/src/components/Layout/index.tsx index 6978485..bcb94c3 100644 --- a/src/components/Layout/index.tsx +++ b/src/components/Layout/index.tsx @@ -8,8 +8,6 @@ import { graphql, useStaticQuery } from "gatsby" import React, { PropsWithChildren } from "react" -import Scrollbar from "react-perfect-scrollbar" -import "react-perfect-scrollbar/dist/css/styles.css" import { GlobalStyles } from "../../globalStyles" import { Container } from "../Container" import { Footer } from "../Footer" @@ -28,18 +26,16 @@ export function Layout({ children }: PropsWithChildren<{}>) { `) return ( - + - -
- - -

{data.site.siteMetadata.title}

- {children} -
-
-