0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-15 10:32:45 +00:00

remove .pageInfo widget in bottom of preview

page counter function is in toolbar now, so this isn't necessary.
This commit is contained in:
Gazook89
2024-08-23 19:25:49 -05:00
parent f3ed174b0e
commit 77421c2950
2 changed files with 0 additions and 28 deletions

View File

@@ -115,17 +115,6 @@ const BrewRenderer = (props)=>{
return false;
};
const renderPageInfo = ()=>{
return <div className='pageInfo' ref={mainRef}>
<div>
{props.renderer}
</div>
<div>
{state.currentPageNumber} / {rawPages.length}
</div>
</div>;
};
const renderDummyPage = (index)=>{
return <div className='phb page' id={`p${index + 1}`} key={index}>
<i className='fas fa-spinner fa-spin' />
@@ -248,7 +237,6 @@ const BrewRenderer = (props)=>{
}
</div>
</Frame>
{renderPageInfo()}
</>
);
};