Browse Source

Cleanup

mantine
cracklesparkle 10 months ago
parent
commit
424217a895
  1. 6
      frontend_reactjs/src/pages/Settings.tsx

6
frontend_reactjs/src/pages/Settings.tsx

@ -9,8 +9,6 @@ export default function Settings() {
const { roles } = useRoles() const { roles } = useRoles()
const [open, setOpen] = useState(false)
const columns: GridColDef[] = [ const columns: GridColDef[] = [
{ field: 'id', headerName: 'ID', type: "number", width: 70 }, { field: 'id', headerName: 'ID', type: "number", width: 70 },
{ field: 'email', headerName: 'Email', width: 130, editable: true }, { field: 'email', headerName: 'Email', width: 130, editable: true },
@ -45,10 +43,6 @@ export default function Settings() {
gap: "16px", gap: "16px",
}} }}
> >
<Button onClick={() => setOpen(true)}>
Добавить пользователя
</Button>
<DataGrid <DataGrid
autoHeight autoHeight
style={{ width: "100%" }} style={{ width: "100%" }}

Loading…
Cancel
Save