Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
GCL_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
안형욱
2021-05-10 17:17:33 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c95ab35591854f5b3da805f29777e32f0d8e0f08
c95ab355
1 parent
9f29621a
feat: 검색시 Search 페이지 이동
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
frontend/src/components/common/Input.js
frontend/src/components/common/Input.js
View file @
c95ab35
...
...
@@ -55,14 +55,14 @@ const Input = ({
return
;
}
const
params
=
new
URLSearchParams
({
query
});
history
.
push
(
`?
${
params
.
toString
()}
`
);
history
.
push
(
`
search
?
${
params
.
toString
()}
`
);
}
}}
/
>
<
SearchIconWrap
onClick
=
{()
=>
{
const
params
=
new
URLSearchParams
({
query
});
history
.
push
(
`?
${
params
.
toString
()}
`
);
history
.
push
(
`
search
?
${
params
.
toString
()}
`
);
}}
>
<
SearchBox
color
=
"blue"
size
=
"50px"
display
=
{
display
}
/
>
...
...
Please
register
or
login
to post a comment