panel layout

This commit is contained in:
realaravinth
2021-04-06 21:34:11 +05:30
parent 312d02a41d
commit 36e64e399e
18 changed files with 694 additions and 265 deletions

View File

@@ -3,12 +3,8 @@ import ROUTES from '../../api/v1/routes';
import genJsonPayload from '../../utils/genJsonPayload';
const checkUsernameEventHandler = _e => {
checkUsernameExists();
};
//export const checkUsernameExists = async () => {
async function checkUsernameExists() {
async function userExists() {
let username = document.getElementById('username');
let val = username.value;
let payload = {
@@ -45,4 +41,4 @@ async function checkUsernameExists() {
return false;
};
export {checkUsernameExists, checkUsernameEventHandler};
export default userExists;