Remove username prop from BasicWindow component on all pages
This commit is contained in:
parent
5a4049eaf3
commit
55fd42090d
24 changed files with 26 additions and 25 deletions
|
|
@ -16,6 +16,6 @@ function UserEditTimeReportPage(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default UserEditTimeReportPage;
|
||||
|
|
|
|||
|
|
@ -25,6 +25,6 @@ function UserNewTimeReportPage(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default UserNewTimeReportPage;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,6 @@ function UserViewTimeReportsPage(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default UserViewTimeReportsPage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue