Merge branch 'administativePages' into 'dev'
fix: delete files without export default in pages folder See merge request kluppsoftware/smart-energia-web!61
This commit is contained in:
commit
6bfe07db84
@ -49,13 +49,13 @@ export default function clients() {
|
||||
|
||||
const [openModal, setOpenModal] = useState(false)
|
||||
|
||||
function handleCreateClient() {
|
||||
function handleCreateClient({name, email, password, password_confirmation, client_id}) {
|
||||
api.post('', {
|
||||
"name": "Teste3",
|
||||
"email": "teste3@gmail.com",
|
||||
"password": "password",
|
||||
"password_confirmation": "password",
|
||||
"client_id": 222
|
||||
name,
|
||||
email,
|
||||
password,
|
||||
password_confirmation,
|
||||
client_id
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@ -29,7 +29,6 @@ import MuiAlert, { AlertProps } from '@mui/material/Alert';
|
||||
import BasicButton from '../../../components/buttons/basicButton/BasicButton';
|
||||
import { ConfirmModalView } from '../../../styles/layouts/modals/confirmModalView';
|
||||
import ConfirmModal from '../../../components/modal/ConfirmModal';
|
||||
import { JsxElement } from 'typescript';
|
||||
|
||||
const style = {
|
||||
position: 'absolute' as const,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user