Fix header

The header needs to be passed forward as a string to some components and as a bool (hideHeader) to others.
Also use a enum instead of string options.
This commit is contained in:
Timo
2025-06-24 14:02:46 +02:00
parent e112b527a8
commit 54a4706bcf
5 changed files with 27 additions and 16 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ export const RoomPage: FC = () => {
confineToRoom={confineToRoom}
preload={preload}
skipLobby={skipLobby || wasInWaitForInviteState.current}
hideHeader={header !== "standard"}
header={header}
muteStates={muteStates}
/>
);