Skip to content

Commit

Permalink
Render always header too
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsBaumgartner1994 committed Jul 19, 2023
1 parent 754f7eb commit 6980872
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const BaseNoScrollTemplate: FunctionComponent<BaseNoScrollTemplateProps> = React
const params = props?.route?.params;
const serverInfo = ServerAPI.tempStore.serverInfo;

let loadedHeaderInitialState = ConfigHolder.advancedSettings?.loadedHeaderInitialState;
let loadedHeaderInitialState = ConfigHolder.advancedSettings?.loadedHeaderInitialState || true;
let loadedContentInitialState = ConfigHolder.advancedSettings?.loadedContentInitialState;

const [renderHeader, setRenderHeader] = React.useState(loadedHeaderInitialState);
Expand Down

0 comments on commit 6980872

Please sign in to comment.