Use PageContentLayout.tsx everywhere
This commit is contained in:
parent
df39a1a217
commit
fdb1b3625f
4 changed files with 14 additions and 12 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import {useEffect, useState} from "react";
|
||||
import {createUser, fetchAllUsers, fetchCurrentUser, updateUser,} from "../../api/points/UserPoint";
|
||||
import type {UserDto} from "../../api/dtos/UserDto";
|
||||
import ContentBackground from "../basics/ContentBackground";
|
||||
import ContentBody from "../basics/ContentBody";
|
||||
import StickyHeader from "../basics/StickyHeader";
|
||||
import Button from "../basics/Button";
|
||||
|
|
@ -18,6 +17,7 @@ import UserList from "./UserList";
|
|||
import UserEditForm from "./UserEditForm";
|
||||
import ErrorPopup from "../basics/ErrorPopup";
|
||||
import {UserRole} from "../../api/enums/UserRole.ts";
|
||||
import PageContentLayout from "../basics/PageContentLayout.tsx";
|
||||
|
||||
/**
|
||||
* UserManagementPage
|
||||
|
|
@ -151,7 +151,7 @@ export default function UserManagementPage() {
|
|||
|
||||
return (
|
||||
<PageContainer>
|
||||
<ContentBackground>
|
||||
<PageContentLayout>
|
||||
<StickyHeader className="flex justify-between items-center">
|
||||
<h1>Benutzerverwaltung</h1>
|
||||
<ButtonGroupLayout>
|
||||
|
|
@ -211,7 +211,7 @@ export default function UserManagementPage() {
|
|||
{error && (
|
||||
<ErrorPopup message={error} onClose={() => setError(null)}/>
|
||||
)}
|
||||
</ContentBackground>
|
||||
</PageContentLayout>
|
||||
</PageContainer>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue