applied barreling
This commit is contained in:
parent
69c3e7d5ab
commit
d91b524dbd
9 changed files with 14 additions and 2 deletions
|
@ -29,7 +29,7 @@ const StyledPostList = styled.div`
|
||||||
})};
|
})};
|
||||||
`
|
`
|
||||||
|
|
||||||
const PostList = () => {
|
const Home = () => {
|
||||||
const { globalState } = useContext(globalContext)
|
const { globalState } = useContext(globalContext)
|
||||||
const [howMany, setHowMany] = useState(5)
|
const [howMany, setHowMany] = useState(5)
|
||||||
const [postsLength, setPostsLength] = useState(0)
|
const [postsLength, setPostsLength] = useState(0)
|
||||||
|
@ -90,4 +90,4 @@ const PostList = () => {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default PostList
|
export default Home
|
3
src/pages/Home/index.ts
Normal file
3
src/pages/Home/index.ts
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
import Home from "./Home"
|
||||||
|
|
||||||
|
export default Home
|
3
src/pages/Page/index.ts
Normal file
3
src/pages/Page/index.ts
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
import Page from "./Page"
|
||||||
|
|
||||||
|
export default Page
|
3
src/pages/Portfolio/index.ts
Normal file
3
src/pages/Portfolio/index.ts
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
import Portfolio from "./Portfolio"
|
||||||
|
|
||||||
|
export default Portfolio
|
3
src/pages/Search/index.ts
Normal file
3
src/pages/Search/index.ts
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
import Search from "./Search"
|
||||||
|
|
||||||
|
export default Search
|
Loading…
Add table
Add a link
Reference in a new issue