Showing
4 changed files
with
5 additions
and
3 deletions
1 | import axios from 'axios'; | 1 | import axios from 'axios'; |
2 | 2 | ||
3 | const getResult = async (answer) => { | 3 | const getResult = async (answer) => { |
4 | - const res = await axios.post("submit",answer); | 4 | + const res = await axios.post("http://3.34.126.151:8000/submit",answer); |
5 | return res; | 5 | return res; |
6 | } | 6 | } |
7 | 7 | ... | ... |
... | @@ -23,6 +23,9 @@ const Description = styled.div` | ... | @@ -23,6 +23,9 @@ const Description = styled.div` |
23 | font-size: 1.4rem; | 23 | font-size: 1.4rem; |
24 | `; | 24 | `; |
25 | 25 | ||
26 | +// TODO: 다시하기 and 카카오톡 공유 | ||
27 | +// 다시하기 : getQuestion dispatch 해준 다음 push('/survey'); | ||
28 | + | ||
26 | function ResultPage({result}){ | 29 | function ResultPage({result}){ |
27 | return( | 30 | return( |
28 | <> | 31 | <> | ... | ... |
-
Please register or login to post a comment