add createdocument with template Id

This commit is contained in:
prafull-opensignlabs
2024-01-22 09:52:44 +05:30
parent a49c76c188
commit 7c8a5e02f2
6 changed files with 1401 additions and 2 deletions
@@ -10,6 +10,7 @@ import LegaDrive from "./Component/LegaDrive/LegaDrive";
import PageNotFound from "./Component/PageNotFound";
import TemplatePlaceHolder from "./Component/TemplatePlaceholder";
import Parse from "parse";
import GuestLogin from "./premitives/GuestLogin";
Parse.serverURL = localStorage.getItem("baseUrl");
Parse.initialize(localStorage.getItem("parseAppId"));
// `AppRoutes` is used to define route path of app and
@@ -50,6 +51,8 @@ function AppRoutes() {
<Route path="/legadrive" element={<LegaDrive />} />
{/* Page Not Found */}
<Route path="/template/:templateId" element={<TemplatePlaceHolder />} />
<Route path="/guestlogin" element={<GuestLogin />} />
<Route path="*" element={<PageNotFound />} />
</Routes>
</div>