Install eslint and prettier.
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
import React, { useState, useEffect } from "react"
|
||||
import { graphql } from 'gatsby'
|
||||
import { graphql } from "gatsby"
|
||||
|
||||
import Layout from "../components/layout"
|
||||
import SEO from "../components/seo"
|
||||
import SideBar from "../components/sidebar";
|
||||
import {Container, Row, Col} from 'react-bootstrap';
|
||||
import BookFeed from "../components/feed";
|
||||
import SideBar from "../components/sidebar"
|
||||
import { Container, Row, Col } from "react-bootstrap"
|
||||
import BookFeed from "../components/feed"
|
||||
|
||||
const basicTemplate = props => {
|
||||
const { pageContext } = props
|
||||
const { categoryName, books } = pageContext
|
||||
|
||||
return (
|
||||
const { pageContext } = props
|
||||
const { categoryName, books } = pageContext
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<SEO title="Home" />
|
||||
<Container fluid>
|
||||
@@ -20,11 +20,11 @@ const basicTemplate = props => {
|
||||
<SideBar />
|
||||
</Col>
|
||||
<Col>
|
||||
<BookFeed books={books} categoryName={categoryName} />
|
||||
<BookFeed books={books} categoryName={categoryName} />
|
||||
</Col>
|
||||
</Row>
|
||||
</Container>
|
||||
</Layout>
|
||||
)
|
||||
)
|
||||
}
|
||||
export default basicTemplate
|
||||
|
||||
Reference in New Issue
Block a user