Removed username prop from basicwindow in all pages
This commit is contained in:
parent
388a430613
commit
d692165f99
25 changed files with 27 additions and 26 deletions
|
|
@ -11,6 +11,6 @@ function AdminAddProject(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminAddProject;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,6 @@ function AdminAddUser(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminAddUser;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@ function AdminChangeUsername(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminChangeUsername;
|
||||
|
|
|
|||
|
|
@ -21,6 +21,6 @@ function AdminManageProjects(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminManageProjects;
|
||||
|
|
|
|||
|
|
@ -36,6 +36,6 @@ function AdminManageUsers(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminManageUsers;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,6 @@ function AdminMenuPage(): JSX.Element {
|
|||
|
||||
const buttons = <></>;
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminMenuPage;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@ function AdminProjectAddMember(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminProjectAddMember;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@ function AdminProjectChangeUserRole(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminProjectChangeUserRole;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@ function AdminProjectManageMembers(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminProjectManageMembers;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@ function AdminProjectPage(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminProjectPage;
|
||||
|
|
|
|||
|
|
@ -16,6 +16,6 @@ function AdminProjectStatistics(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminProjectStatistics;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@ function AdminProjectViewMemberInfo(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminProjectViewMemberInfo;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@ function AdminViewUserInfo(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default AdminViewUserInfo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue