Install eslint and prettier.

This commit is contained in:
Vishnu KS
2020-08-23 00:57:54 +05:30
parent defa5cb196
commit f985c157d9
15 changed files with 8864 additions and 5223 deletions

View File

@@ -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