Skip to content

Commit

Permalink
fix : 리다이렉션 시 querystring 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoiSangwon committed Feb 17, 2024
1 parent 203b1dc commit 802f393
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/Main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ const Main = () => {
// console.log(response);
setLoading(false);
setTimeout(() => {
navigate("/similarity", { state: { arr: response.data } });
navigate(`/similarity?${queryString}`, {
state: { arr: response.data },
});
}, 2000);
})
.catch((error) => {
Expand Down

0 comments on commit 802f393

Please sign in to comment.