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
|
|
@ -18,6 +18,6 @@ function ChangeRole(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default ChangeRole;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,6 @@ function PMOtherUsersTR(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default PMOtherUsersTR;
|
||||
|
|
|
|||
|
|
@ -30,6 +30,6 @@ function PMProjectMembers(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default PMProjectMembers;
|
||||
|
|
|
|||
|
|
@ -31,6 +31,6 @@ function PMProjectPage(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={undefined} />;
|
||||
return <BasicWindow content={content} buttons={undefined} />;
|
||||
}
|
||||
export default PMProjectPage;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import BackButton from "../../Components/BackButton";
|
||||
import BasicWindow from "../../Components/BasicWindow";
|
||||
import Button from "../../Components/Button";
|
||||
import TimeReport from "../../Components/NewWeeklyReport";
|
||||
|
||||
function PMTotalTimeActivity(): JSX.Element {
|
||||
|
|
@ -18,6 +18,6 @@ function PMTotalTimeActivity(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default PMTotalTimeActivity;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,6 @@ function PMTotalTimeRole(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default PMTotalTimeRole;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,6 @@ function PMUnsignedReports(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default PMUnsignedReports;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import BackButton from "../../Components/BackButton";
|
||||
import BasicWindow from "../../Components/BasicWindow";
|
||||
import Button from "../../Components/Button";
|
||||
import TimeReport from "../../Components/NewWeeklyReport";
|
||||
|
|
@ -32,6 +33,6 @@ function PMViewUnsignedReport(): JSX.Element {
|
|||
</>
|
||||
);
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
export default PMViewUnsignedReport;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue