We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 351c08d commit 001d8d0Copy full SHA for 001d8d0
src/components/helper/newUserHelper.ts
@@ -6,7 +6,7 @@ import store from '../../renderer/store';
6
import * as actions from '../../redux/actions/actions';
7
import React from 'react';
8
9
-export const handleNewUser = (e: React.SyntheticEvent, roleID?: string) => {
+export const handleNewUser = (e: React.SyntheticEvent, roleID: string) => {
10
e.preventDefault();
11
const username = (<HTMLInputElement>document.getElementById('signupUsername')).value;
12
const password = (<HTMLInputElement>document.getElementById('signupPassword')).value;
0 commit comments