Commit 6f794ed1 authored by baesangjune's avatar baesangjune
Browse files

페이지네이션 최종

parent 6f7fdd58
This diff is collapsed.
...@@ -113,7 +113,8 @@ function Search(props) { ...@@ -113,7 +113,8 @@ function Search(props) {
const handleSubmit = (e) => { const handleSubmit = (e) => {
e.preventDefault() e.preventDefault()
setState(true); setState(true)
setIndex(1)
} }
function paginate(items, pageNumber, itemNumber) { function paginate(items, pageNumber, itemNumber) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment