Remove username prop from BasicWindow component
This commit is contained in:
parent
d64ec708a1
commit
25713443e2
1 changed files with 1 additions and 3 deletions
|
@ -2,17 +2,15 @@ import Header from "./Header";
|
|||
import Footer from "./Footer";
|
||||
|
||||
function BasicWindow({
|
||||
username,
|
||||
content,
|
||||
buttons,
|
||||
}: {
|
||||
username: string;
|
||||
content: React.ReactNode;
|
||||
buttons: React.ReactNode;
|
||||
}): JSX.Element {
|
||||
return (
|
||||
<div className="font-sans flex flex-col h-screen bg-white border-2 border-black overflow-auto pt-[110px]">
|
||||
<Header username={username} />
|
||||
<Header />
|
||||
<div className="flex flex-col items-center flex-grow">{content}</div>
|
||||
<Footer>{buttons}</Footer>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue