|
|
@ -2,10 +2,10 @@ import React, { useEffect, useState } from 'react';
|
|
|
|
import ProfilePDP from '../Components/ProfilePDP';
|
|
|
|
import ProfilePDP from '../Components/ProfilePDP';
|
|
|
|
|
|
|
|
|
|
|
|
import SessionService from '../services/SessionService';
|
|
|
|
import SessionService from '../services/SessionService';
|
|
|
|
|
|
|
|
import AuthService from '../services/AuthService';
|
|
|
|
import { PlayerProps } from '../types/Player';
|
|
|
|
import { PlayerProps } from '../types/Player';
|
|
|
|
import { delay, update } from 'lodash';
|
|
|
|
import { delay, update } from 'lodash';
|
|
|
|
import { socket } from '../SocketConfig';
|
|
|
|
import { socket } from '../SocketConfig';
|
|
|
|
import AuthService from '../services/AuthService';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Style */
|
|
|
|
/* Style */
|
|
|
@ -14,6 +14,9 @@ import Edit from "../res/icon/edit-pen.png"
|
|
|
|
import Coche from '../res/icon/coche.png'
|
|
|
|
import Coche from '../res/icon/coche.png'
|
|
|
|
import Cancel from '../res/icon/cancel.png'
|
|
|
|
import Cancel from '../res/icon/cancel.png'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Nav */
|
|
|
|
|
|
|
|
import { useNavigate } from 'react-router-dom';
|
|
|
|
|
|
|
|
|
|
|
|
/* Model */
|
|
|
|
/* Model */
|
|
|
|
import User from '../model/User';
|
|
|
|
import User from '../model/User';
|
|
|
|
|
|
|
|
|
|
|
@ -25,7 +28,7 @@ import Button from 'react-bootstrap/Button';
|
|
|
|
import Alert from 'react-bootstrap/Alert';
|
|
|
|
import Alert from 'react-bootstrap/Alert';
|
|
|
|
import Modal from 'react-bootstrap/Modal';
|
|
|
|
import Modal from 'react-bootstrap/Modal';
|
|
|
|
import Form from 'react-bootstrap/Form';
|
|
|
|
import Form from 'react-bootstrap/Form';
|
|
|
|
import { useNavigate } from 'react-router-dom';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//@ts-ignore
|
|
|
|
//@ts-ignore
|
|
|
|
const Profile = () => {
|
|
|
|
const Profile = () => {
|
|
|
|