Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
719a7a2b
Commit
719a7a2b
authored
Jul 23, 2022
by
Yoon, Daeki
😅
Browse files
이름 변경 및 설문 응답 폴더 구조 변경
parent
1865b708
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/src/SurveyRouter.tsx
View file @
719a7a2b
...
@@ -3,7 +3,7 @@ import { BrowserRouter, Route, Routes } from "react-router-dom";
...
@@ -3,7 +3,7 @@ import { BrowserRouter, Route, Routes } from "react-router-dom";
import
App
from
"
./App
"
;
import
App
from
"
./App
"
;
import
{
Login
,
SignUp
}
from
"
./auth
"
;
import
{
Login
,
SignUp
}
from
"
./auth
"
;
import
{
RequireAuth
}
from
"
./auth/RequireAuth
"
;
import
{
RequireAuth
}
from
"
./auth/RequireAuth
"
;
import
{
SurveyForm
}
from
"
./
common
s
"
;
import
{
Answer
SurveyForm
}
from
"
./
answer
s
"
;
import
{
Home
}
from
"
./home
"
;
import
{
Home
}
from
"
./home
"
;
import
{
Profile
}
from
"
./profile
"
;
import
{
Profile
}
from
"
./profile
"
;
import
{
EditResponseButton
}
from
"
./survey
"
;
import
{
EditResponseButton
}
from
"
./survey
"
;
...
@@ -21,7 +21,7 @@ export const SurveyRouter = () => {
...
@@ -21,7 +21,7 @@ export const SurveyRouter = () => {
<
Route
path
=
":surveyId"
element
=
{
<
EditSurvey
/>
}
/>
<
Route
path
=
":surveyId"
element
=
{
<
EditSurvey
/>
}
/>
<
Route
path
=
":surveyId/response"
element
/>
<
Route
path
=
":surveyId/response"
element
/>
</
Route
>
</
Route
>
<
Route
path
=
"surveys/:surveyId"
element
=
{
<
SurveyForm
/>
}
/>
<
Route
path
=
"surveys/:surveyId"
element
=
{
<
Answer
SurveyForm
/>
}
/>
<
Route
<
Route
path
=
"profile"
path
=
"profile"
element
=
{
element
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment