Skip to content

Commit

Permalink
refactor: add comment for optional phone field
Browse files Browse the repository at this point in the history
  • Loading branch information
nxglabs committed Nov 21, 2024
1 parent 58b3cc6 commit 4235bc0
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 2,147 deletions.
5 changes: 0 additions & 5 deletions apps/OpenSign/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const GenerateToken = lazy(() => import("./pages/GenerateToken"));
const Webhook = lazy(() => import("./pages/Webhook"));
const AddAdmin = lazy(() => import("./pages/AddAdmin"));
const UpdateExistUserAdmin = lazy(() => import("./pages/UpdateExistUserAdmin"));
const DraftTemplate = lazy(() => import("./pages/DraftTemplate"));
const Preferences = lazy(() => import("./pages/Preferences"));

pdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/legacy/build/pdf.worker.min.mjs`;
Expand Down Expand Up @@ -206,10 +205,6 @@ function App() {
/>
</Route>
<Route path="/sso" element={<SSOVerify />} />
<Route
path="/drafttemplate/:jwttoken"
element={<DraftTemplate />}
/>
<Route path="*" element={<PageNotFound />} />
</Routes>
</BrowserRouter>
Expand Down
1 change: 1 addition & 0 deletions apps/OpenSign/src/components/AddUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ const AddUser = (props) => {
{t("phone")}
{/* <span className="text-[red] text-[13px]"> *</span> */}
</label>
{/* added hint for phone number being optional */}
<input
type="text"
name="phone"
Expand Down
Loading

0 comments on commit 4235bc0

Please sign in to comment.