Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Commit 4f40cc4

Browse files
authored
Merge pull request #123 from akashgandhar/Issue-#133
Issue Resolved:: loading is now in the center of the page
2 parents 7a880d9 + 6b4cb88 commit 4f40cc4

25 files changed

Lines changed: 707 additions & 301 deletions

package-lock.json

Lines changed: 0 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import Dashboard from "./containers/Dashboard.js";
66
import CompleteSignup from "./components/LoginComponents/CompleteSignupPage.js";
77
import OffboardingPage from "./components/OffboardingComponents/OffboardingPage.jsx";
88
import EmployeeOnboarding from "./containers/EmployeeOnboarding.js";
9+
import ResponsePage from "./components/SurveysPage/ResponsePage.jsx";
910
import ErrorPage from "./components/Error/ErrorPage.jsx";
1011

1112
function App() {
@@ -18,6 +19,7 @@ function App() {
1819
<Route path="/complete-signup/:token" element={<CompleteSignup />} />
1920
<Route path="/dashboard" element={<Dashboard />} />
2021
<Route path="/off-boarding/:token" element={<OffboardingPage />} />
22+
<Route path="/satisfactionsurvey/:token" element={<ResponsePage />} />
2123
<Route path="*" element={<ErrorPage />} />
2224
</Routes>
2325
</StateProvider>

src/assets/FetchServices/SatisfactionSurvey.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export const startSurvey = async (token) => {
113113
try {
114114
const url = `${BASE_URL}/api/satisfactionsurvey/questions/start`;
115115
const res = await axios.post(url, { token: token }, addCred);
116+
console.log(res);
116117
return res.data;
117118
} catch (err) {
118119
console.log(err);

0 commit comments

Comments
 (0)